diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-03-08 19:22:48 +0200 |
---|---|---|
committer | Roman Kyrylych <roman@archlinux.org> | 2008-03-08 19:37:00 +0200 |
commit | 45e331302268490cfb532ea6fe827cba1351ec5b (patch) | |
tree | b251a1c3f79ae581e3ab9513f6fd4585a91808f3 /rc.single | |
parent | 6214a05ea023b8bc3014d8032af18b2404276d00 (diff) |
Use full path to binaries everywhere
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'rc.single')
-rwxr-xr-x | rc.single | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -12,7 +12,7 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then # Shutdown daemons let i=${#DAEMONS[@]} while [[ i -gt 0 ]]; do - if [[ $(echo ${DAEMONS[$i]} | grep '^[^\!]' | wc -l) -eq 1 ]]; then + if [[ $(echo ${DAEMONS[$i]} | /bin/grep '^[^\!]' | /usr/bin/wc -l) -eq 1 ]]; then /etc/rc.d/${DAEMONS[$i]#@} stop fi let i=i-1 @@ -39,11 +39,11 @@ if [ "$PREVLEVEL" != "N" ]; then if [ -x /etc/start_udev -a -d /sys/block ]; then # We have a start_udev script and /sys appears to be mounted, use UDev status "Starting UDev Daemon" /etc/start_udev - if [ "$(pidof -o %PPID /sbin/udevd)" ]; then + if [ "$(/bin/pidof -o %PPID /sbin/udevd)" ]; then # If an old udevd is kicking around, we'll have to remount pts and shm - umount /dev/shm /dev/pts >/dev/null 2>&1 - mount /dev/pts - mount /dev/shm + /bin/umount /dev/shm /dev/pts >/dev/null 2>&1 + /bin/mount /dev/pts + /bin/mount /dev/shm fi else # Static /dev, our last resort |