diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-10-27 20:28:27 (GMT) |
commit | f7b823f55a80b1498c30e9f3a47692a2329c4f09 (patch) | |
tree | 6de557714e6336282fbc0ab16c6578386dfc6654 /abs/core/runit/runit.install | |
parent | 4c2a2e3504f472628285a989c7c9a76be6855f54 (diff) | |
parent | 01c1a60f3b7f93b3ed7404196c2cf798c4d8c674 (diff) | |
download | linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.zip linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.gz linhes_pkgbuild-f7b823f55a80b1498c30e9f3a47692a2329c4f09.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/runit/runit.install')
-rwxr-xr-x | abs/core/runit/runit.install | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/abs/core/runit/runit.install b/abs/core/runit/runit.install index b62e94e..879f549 100755 --- a/abs/core/runit/runit.install +++ b/abs/core/runit/runit.install @@ -36,17 +36,33 @@ if [ ! -f /sbin/shutdown-init ] ; then fi fi -if [ -e /sbin/reboot ] ; then - rm -f /sbin/reboot -fi +#if [ -e /sbin/reboot ] ; then + rm -f /sbin/re* + rm -f /usr/sbin/re* + + rm -f /sbin/powe* + rm -f /usr/sbin/power* + + rm -f /sbin/halt* + rm -f /usr/sbin/halt* + + + +#fi if [ -e /sbin/poweroff ] ; then rm -f /sbin/poweroff fi + + + + + + } -post_install () { +apost_install () { [ -e /sbin/halt ] || ln -sf /sbin/halt.script /sbin/halt [ -e /sbin/reboot ] || ln -sf /sbin/reboot.script /sbin/reboot [ -e /sbin/poweroff ] || ln -sf /sbin/poweroff.script /sbin/poweroff |