summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/runit.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-16 23:59:32 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:04 (GMT)
commit3dd19d5c2bfe42193faa314ca66696d32910dc85 (patch)
tree3b2a12ae07ea2c744b385db83a3983678ad72a61 /abs/core/runit/runit.install
parentb91205d63dd37ff202fb46617d53e6ba27e1564d (diff)
downloadlinhes_pkgbuild-3dd19d5c2bfe42193faa314ca66696d32910dc85.zip
linhes_pkgbuild-3dd19d5c2bfe42193faa314ca66696d32910dc85.tar.gz
linhes_pkgbuild-3dd19d5c2bfe42193faa314ca66696d32910dc85.tar.bz2
runit, runitscripts:
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/core/runit/runit.install')
-rwxr-xr-xabs/core/runit/runit.install24
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