diff options
author | Dan Horák <dan@danny.cz> | 2010-05-05 08:52:20 +0200 |
---|---|---|
committer | Dan Horák <dan@danny.cz> | 2010-05-05 08:52:20 +0200 |
commit | 5f31c74b8a9c168a15db3704a387364c39429abc (patch) | |
tree | 19900aa2fa72f0ac85367aa3aba86a76073fe939 | |
parent | 2f1da9bc281eab7d3769fb9f6cb91138d03a8f31 (diff) | |
download | utils-5f31c74b8a9c168a15db3704a387364c39429abc.tar.gz utils-5f31c74b8a9c168a15db3704a387364c39429abc.tar.xz utils-5f31c74b8a9c168a15db3704a387364c39429abc.zip |
drop /usr from PATH
The scripts can be run in an environment where /usr is not mounted yet.
-rw-r--r-- | dasdconf.sh | 2 | ||||
-rw-r--r-- | device_cio_free | 2 | ||||
-rw-r--r-- | zfcpconf.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dasdconf.sh b/dasdconf.sh index fb3ac90..bfb6af3 100644 --- a/dasdconf.sh +++ b/dasdconf.sh @@ -14,7 +14,7 @@ CHANNEL=${DEVPATH##*/} CONFIG=/etc/dasd.conf -PATH=/sbin:/bin:/usr/sbin:/usr/bin +PATH=/sbin:/bin export PATH warn() { diff --git a/device_cio_free b/device_cio_free index 44c3e6b..381c0a0 100644 --- a/device_cio_free +++ b/device_cio_free @@ -27,7 +27,7 @@ ZFCPCONFIG=/etc/zfcp.conf ZNETCONFIG=/etc/ccw.conf BLACKLIST=/proc/cio_ignore VERBOSE= -PATH=/bin:/usr/bin:/sbin:/usr/sbin +PATH=/bin:/sbin ALL_DEVICES= # list of all unblocked devices WAITING_TIMEOUT=60 # maximum time to wait for all devices to appear WAITING_TOTAL=0 # actual time spent waiting for devices diff --git a/zfcpconf.sh b/zfcpconf.sh index 4eb1ab6..4e7dc78 100644 --- a/zfcpconf.sh +++ b/zfcpconf.sh @@ -19,7 +19,7 @@ # echo 0x5022000000000000 > /sys/bus/ccw/drivers/zfcp/0.0.4000/0x5005076300c213e9/unit_add CONFIG=/etc/zfcp.conf -PATH=/bin:/usr/bin:/sbin:/usr/sbin +PATH=/bin:/sbin if [ -f "$CONFIG" ]; then if [ ! -d /sys/bus/ccw/drivers/zfcp ]; then |