2006-01-05 16:31:29 +00:00
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/dasd.agent hotplug-2004_03_29.new/etc/hotplug/dasd.agent
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/dasd.agent 2002-08-08 12:05:17.000000000 +0200
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/dasd.agent 2006-01-05 17:04:58.000000000 +0100
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!@bash@/bin/bash
|
|
|
|
#
|
|
|
|
# Dasd hotplug policy agent for Linux 2.4 kernels
|
|
|
|
#
|
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/dasd.permissions hotplug-2004_03_29.new/etc/hotplug/dasd.permissions
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/dasd.permissions 2002-08-08 11:53:23.000000000 +0200
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/dasd.permissions 2006-01-05 17:05:13.000000000 +0100
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!@bash@/bin/bash
|
|
|
|
#
|
|
|
|
# Copyright (c) 2002 SuSE Linux AG, Nuremberg
|
|
|
|
#
|
|
|
|
@@ -27,4 +27,4 @@
|
|
|
|
*)
|
|
|
|
die "dasd_permissions: don't know what permissions to give $NODE-$MAJOR-$MINOR-$MISC"
|
|
|
|
esac
|
|
|
|
-}
|
|
|
|
\ No newline at end of file
|
|
|
|
+}
|
2006-01-05 17:55:52 +00:00
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/hotplug.functions hotplug-2004_03_29.new/etc/hotplug/hotplug.functions
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/hotplug.functions 2004-03-29 21:25:59.000000000 +0200
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/hotplug.functions 2006-01-05 18:48:13.000000000 +0100
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
|
# DEBUG=yes; export DEBUG
|
|
|
|
PATH=/bin:/sbin:/usr/sbin:/usr/bin
|
|
|
|
|
|
|
|
-KERNEL=`uname -r`
|
2006-01-05 18:18:41 +00:00
|
|
|
+KERNEL=`@coreutils@/bin/uname -r`
|
2006-01-05 17:55:52 +00:00
|
|
|
MODULE_DIR=/lib/modules/$KERNEL
|
|
|
|
|
|
|
|
HOTPLUG_DIR=/etc/hotplug
|
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/input.rc hotplug-2004_03_29.new/etc/hotplug/input.rc
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/input.rc 2004-03-26 23:34:34.000000000 +0100
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/input.rc 2006-01-05 18:50:39.000000000 +0100
|
|
|
|
@@ -119,7 +119,7 @@
|
|
|
|
: not supported currently
|
|
|
|
;;
|
|
|
|
status)
|
|
|
|
- echo $"INPUT status for kernel: " `uname -srm`
|
|
|
|
+ echo $"INPUT status for kernel: " `@coreutils@/bin/uname -srm`
|
|
|
|
echo ''
|
|
|
|
|
|
|
|
echo "INPUT devices:"
|
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/pci.rc hotplug-2004_03_29.new/etc/hotplug/pci.rc
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/pci.rc 2004-03-26 23:34:24.000000000 +0100
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/pci.rc 2006-01-05 18:50:53.000000000 +0100
|
|
|
|
@@ -70,7 +70,7 @@
|
|
|
|
# echo $"pci stop -- ignored"
|
|
|
|
;;
|
|
|
|
status)
|
|
|
|
- echo $"PCI Status for kernel: " `uname -srm`
|
2006-01-05 19:30:22 +00:00
|
|
|
+ echo $"PCI Status for kernel: " `@coreutils/bin/uname -srm`
|
2006-01-05 17:55:52 +00:00
|
|
|
echo ''
|
|
|
|
|
|
|
|
if [ -f /proc/bus/pci/devices ]; then
|
2006-01-05 16:31:29 +00:00
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/tape.agent hotplug-2004_03_29.new/etc/hotplug/tape.agent
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/tape.agent 2002-10-10 15:43:24.000000000 +0200
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/tape.agent 2006-01-05 17:05:48.000000000 +0100
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!@bash@/bin/bash
|
|
|
|
###############################################################################
|
|
|
|
# Tape hotplug agent for Linux 2.4 kernels
|
|
|
|
#
|
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/tape.permissions hotplug-2004_03_29.new/etc/hotplug/tape.permissions
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/tape.permissions 2002-10-08 13:09:14.000000000 +0200
|
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/tape.permissions 2006-01-05 17:06:00.000000000 +0100
|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!@bash@/bin/bash
|
|
|
|
#
|
|
|
|
# Copyright (c) 2002 IBM Development Germany, Boeblingen
|
|
|
|
#
|
2006-01-05 17:55:52 +00:00
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug/usb.rc hotplug-2004_03_29.new/etc/hotplug/usb.rc
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug/usb.rc 2004-03-29 21:34:30.000000000 +0200
|
2006-01-05 19:30:22 +00:00
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug/usb.rc 2006-01-05 20:26:21.000000000 +0100
|
|
|
|
@@ -19,7 +19,8 @@
|
|
|
|
# system console can't be removed by accident.
|
|
|
|
|
|
|
|
|
|
|
|
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
+#PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
+PATH=@coreutils@/bin:@gnugrep@/bin:@utillinux@/bin:@module_init_tools@/sbin:@gnused@/bin:@procps@/bin
|
|
|
|
|
|
|
|
unset I_WANT_A_BROKEN_PS
|
|
|
|
PS_PERSONALITY=linux
|
|
|
|
@@ -331,7 +332,7 @@
|
2006-01-05 17:55:52 +00:00
|
|
|
maybe_stop_usb
|
|
|
|
;;
|
|
|
|
status)
|
|
|
|
- echo $"USB Status for kernel: " `uname -srm`
|
|
|
|
+ echo $"USB Status for kernel: " `@coreutils@/bin/uname -srm`
|
|
|
|
echo ''
|
|
|
|
|
|
|
|
if [ -f /proc/bus/usb/devices ]; then
|
2006-01-05 16:31:29 +00:00
|
|
|
diff -ruN hotplug-2004_03_29/etc/hotplug.d/default/default.hotplug hotplug-2004_03_29.new/etc/hotplug.d/default/default.hotplug
|
|
|
|
--- hotplug-2004_03_29/etc/hotplug.d/default/default.hotplug 2004-03-26 23:34:34.000000000 +0100
|
2006-01-05 17:55:52 +00:00
|
|
|
+++ hotplug-2004_03_29.new/etc/hotplug.d/default/default.hotplug 2006-01-05 18:47:30.000000000 +0100
|
2006-01-05 16:31:29 +00:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/bin/bash
|
|
|
|
+#!@bash@/bin/bash
|
|
|
|
#
|
|
|
|
# This version of /sbin/hotplug should works on most GNU/Linux systems
|
|
|
|
# using Linux 2.2.18+ or 2.4.* kernels. On 2.2.*, only USB has such
|
2006-01-05 17:38:12 +00:00
|
|
|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
|
|
# DEBUG=yes export DEBUG
|
|
|
|
|
|
|
|
-debug_mesg "arguments ($*) env (`env`)"
|
2006-01-05 17:45:15 +00:00
|
|
|
+debug_mesg "arguments ($*) env (`@coreutils@/bin/env`)"
|
2006-01-05 17:38:12 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Only one required argument: event type type being dispatched.
|
|
|
|
@@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
AGENTS=""
|
|
|
|
for AGENT in /etc/hotplug/*.agent ; do
|
|
|
|
- TYPE=`basename $AGENT | sed s/.agent//`
|
|
|
|
+ TYPE=`@coreutils@/bin/basename $AGENT | @gnused@/bin/sed s/.agent//`
|
|
|
|
if [ -x $AGENT ]; then
|
|
|
|
AGENTS="$AGENTS $TYPE"
|
|
|
|
else
|