From 45e331302268490cfb532ea6fe827cba1351ec5b Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Sat, 8 Mar 2008 19:22:48 +0200 Subject: Use full path to binaries everywhere Signed-off-by: Roman Kyrylych --- rc.shutdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index c414535..1ea8b17 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -33,7 +33,7 @@ if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then done # find any leftover daemons and shut them down in reverse order if [ -d /var/run/daemons ]; then - for daemon in $(ls -1t /var/run/daemons); do + for daemon in $(/bin/ls -1t /var/run/daemons); do /etc/rc.d/$daemon stop done fi @@ -73,7 +73,7 @@ fi stat_done # removing psmouse module to fix some reboot issues on newer laptops -modprobe -r psmouse >/dev/null 2>&1 +/sbin/modprobe -r psmouse >/dev/null 2>&1 # Write to wtmp file before unmounting /sbin/halt -w @@ -87,7 +87,7 @@ stat_busy "Unmounting Filesystems" stat_done # Kill non-root encrypted partition mappings -if [ -f /etc/crypttab -a -n "$(grep -v ^# /etc/crypttab | grep -v ^$)" ]; then +if [ -f /etc/crypttab -a -n "$(/bin/grep -v ^# /etc/crypttab | /bin/grep -v ^$)" ]; then stat_busy "Deactivating encrypted volumes:" CS=/sbin/cryptsetup.static do_uncrypt() { -- cgit v1.2.3