summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts
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
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')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD3
-rwxr-xr-xabs/core/runit-scripts/runit.install22
2 files changed, 2 insertions, 23 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 828e54c..dd326e6 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=2.1.1
-pkgrel=25
+pkgrel=26
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
@@ -18,7 +18,6 @@ build() {
cd $startdir/src/runitscripts
install -d $startdir/pkg/etc/
install -d $startdir/pkg/etc/runit/
- install -d $startdir/pkg/var/service
install -d $startdir/pkg/etc/sv
install -d $startdir/pkg/sbin
install -d $startdir/pkg/etc/rc.d/functions.d
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