diff options
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 } |