aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorRoman Kyrylych <roman@archlinux.org>2008-03-08 19:22:48 +0200
committerRoman Kyrylych <roman@archlinux.org>2008-03-08 19:37:00 +0200
commit45e331302268490cfb532ea6fe827cba1351ec5b (patch)
treeb251a1c3f79ae581e3ab9513f6fd4585a91808f3 /rc.shutdown
parent6214a05ea023b8bc3014d8032af18b2404276d00 (diff)
downloadinitscripts-45e331302268490cfb532ea6fe827cba1351ec5b.tar.xz
Use full path to binaries everywhere
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown6
1 files changed, 3 insertions, 3 deletions
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() {