summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runit.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2011-08-17 21:44:16 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2011-08-17 21:44:16 (GMT)
commitfd26e0d40a42cef258eea7790f93ac868bbb0727 (patch)
tree62e32541c62f9741d84fa80702b33cb0adb6c917 /abs/core/runit-scripts/runit.install
parenta2095ebc87d3b158973804f2efa8a746c66146d9 (diff)
downloadlinhes_pkgbuild-fd26e0d40a42cef258eea7790f93ac868bbb0727.zip
linhes_pkgbuild-fd26e0d40a42cef258eea7790f93ac868bbb0727.tar.gz
linhes_pkgbuild-fd26e0d40a42cef258eea7790f93ac868bbb0727.tar.bz2
runit-scripts: PKGBUILD and install file cleanups
Diffstat (limited to 'abs/core/runit-scripts/runit.install')
-rwxr-xr-xabs/core/runit-scripts/runit.install22
1 files changed, 1 insertions, 21 deletions
diff --git a/abs/core/runit-scripts/runit.install b/abs/core/runit-scripts/runit.install
index 813d9f2..b98574f 100755
--- a/abs/core/runit-scripts/runit.install
+++ b/abs/core/runit-scripts/runit.install
@@ -1,29 +1,9 @@
# arg 1: the new package version
-pre_install () {
-if [ ! -f /sbin/halt-init ]
-then
- mv /sbin/halt /sbin/halt-init
- rm -f /sbin/reboot
- rm -f /sbin/poweroff
-fi
-
-}
-
-pre_upgrade () {
-if [ ! -f /sbin/halt-init ]
-then
- mv /sbin/halt /sbin/halt-init
- rm -f /sbin/reboot
- rm -f /sbin/poweroff
-fi
-
-}
-
post_install () {
[ -e /service ] || mkdir /service
- servicelist="acpid cron frontend lircd ntpd alsa-utils avahi dbus sshd syslog-ng tty2 tty3"
+ servicelist="acpid cron frontend lircd ntpd alsa-utils avahi dbus sshd syslog-ng tty2 tty3"
for i in $servicelist
do
ln -s /etc/sv/$i /service/$i