diff options
author | James Meyer <james.meyer@operamail.com> | 2012-04-23 21:12:08 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-04-23 21:12:08 (GMT) |
commit | 4bc7351abd5eae587f2f01dc349329ac29fd8b17 (patch) | |
tree | b3c8eec80ccb1e73e9a15ebf7be3f79a44083e50 /abs/core/runit-scripts/runit.install | |
parent | df3c3c139d7eedad4ab8be383c66a5518322157c (diff) | |
parent | 8c0d396181e43158de3f54c479456ca7ed052248 (diff) | |
download | linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.zip linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.tar.gz linhes_pkgbuild-4bc7351abd5eae587f2f01dc349329ac29fd8b17.tar.bz2 |
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/runit-scripts/runit.install')
-rwxr-xr-x | abs/core/runit-scripts/runit.install | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/abs/core/runit-scripts/runit.install b/abs/core/runit-scripts/runit.install index 2f9cf90..213d10f 100755 --- a/abs/core/runit-scripts/runit.install +++ b/abs/core/runit-scripts/runit.install @@ -3,7 +3,7 @@ post_install () { [ -e /service ] || mkdir /service - servicelist="acpid cron frontend lircd ntpd alsa-utils avahi dbus sshd rsyslog tty2 tty3" + servicelist="acpid cron frontend remotes ntpd alsa-utils avahi dbus sshd rsyslog tty2 tty3" for i in $servicelist do ln -s /etc/sv/$i /service/$i @@ -43,6 +43,17 @@ post_upgrade(){ fi + if [ -e /service/lircd ] + then + /sbin/sv stop lircd + /sbin/remove_service.sh lircd + /sbin/add_service.sh remotes + fi + + if [ -e /etc/sv/lircd ] + then + rm -r /etc/sv/lircd + fi } |