diff options
author | Bob Igo <bob@stormlogic.com> | 2009-02-17 17:38:18 (GMT) |
---|---|---|
committer | Bob Igo <bob@stormlogic.com> | 2009-02-17 17:38:18 (GMT) |
commit | 87d276ce0cf6b051d7198adf004ce15590ae294e (patch) | |
tree | 507520977c5d6047430f0f9fcd3960dfeaefc022 /abs/core-testing/runit/runit.install | |
parent | b1b1890741091e465c5ed2d3bea92f7141b81362 (diff) | |
parent | 9d327823ebe603376dce4001876c25149c388c8d (diff) | |
download | linhes_pkgbuild-87d276ce0cf6b051d7198adf004ce15590ae294e.zip linhes_pkgbuild-87d276ce0cf6b051d7198adf004ce15590ae294e.tar.gz linhes_pkgbuild-87d276ce0cf6b051d7198adf004ce15590ae294e.tar.bz2 |
Merge branch 'master' of ssh://igo@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/runit/runit.install')
-rwxr-xr-x | abs/core-testing/runit/runit.install | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/abs/core-testing/runit/runit.install b/abs/core-testing/runit/runit.install index 977841b..b6fcb07 100755 --- a/abs/core-testing/runit/runit.install +++ b/abs/core-testing/runit/runit.install @@ -4,9 +4,10 @@ pre_install () { if [ ! -f /sbin/halt-init ] then mv /sbin/halt /sbin/halt-init + mv /sbin/shutdown /sbin/shutdown-init +fi rm -f /sbin/reboot rm -f /sbin/poweroff -fi } @@ -14,9 +15,14 @@ pre_upgrade () { if [ ! -f /sbin/halt-init ] then mv /sbin/halt /sbin/halt-init +fi + +if [ ! -f /sbin/shutdown-init ] +then + mv /sbin/shutdown /sbin/shutdown-init +fi rm -f /sbin/reboot rm -f /sbin/poweroff -fi } @@ -28,6 +34,7 @@ post_install () { ln -s /sbin/poweroff.script /sbin/poweroff ln -s /sbin/halt-init /sbin/reboot.init ln -s /sbin/halt-init /sbin/poweroff.init + ln -s /sbin/shutdown.script /sbin/shutdown } @@ -41,6 +48,7 @@ post_upgrade(){ ln -s /sbin/poweroff.script /sbin/poweroff ln -s /sbin/halt-init /sbin/reboot.init ln -s /sbin/halt-init /sbin/poweroff.init + ln -s /sbin/shutdown.script /sbin/shutdown } |