aboutsummaryrefslogtreecommitdiff
path: root/rc.shutdown
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-10 13:29:15 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-06-10 13:29:15 +0200
commit5e868fdde66452c11453a207954e6864fdb255ba (patch)
treeca5d15cb66ee39ac042d5586bdd2f0d782c9fa22 /rc.shutdown
parent1a2aaac3ed0e76c113a852265c73597519dac68f (diff)
downloadinitscripts-7a5b7f8dfbd49b17537428f7f1f1742313dcdfe1.tar.xz
initscripts: deprecate /sbin and /usr/sbin2013.06.2
Arch Linux has unified /sbin and /usr/sbin into a single binaries directory: /usr/bin
Diffstat (limited to 'rc.shutdown')
-rwxr-xr-xrc.shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.shutdown b/rc.shutdown
index d569dd2..87b91b5 100755
--- a/rc.shutdown
+++ b/rc.shutdown
@@ -102,7 +102,7 @@ if [[ -x /run/initramfs/shutdown ]]; then
pivot_root . oldroot
# reexec init
- /oldroot/sbin/init u
+ /oldroot/usr/bin/init u
# run /shutdown in the new root
exec chroot . /shutdown $action </dev/console >/dev/console 2>&1