odroid-u2-base: update INSTALL for runit.

This commit is contained in:
Juan RP 2014-07-28 22:22:16 +02:00
parent a451a5617a
commit e75ffa65ef
2 changed files with 8 additions and 2 deletions

View File

@ -1,6 +1,12 @@
case "$ACTION" in
post)
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
if [ -x /usr/bin/systemctl ]; then
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
elif [ -x /usr/bin/runit-init ]; then
ln -s /etc/sv/sshd /var/service/
ln -s /etc/sv/ntpd /var/service/
ln -s /etc/sv/dhcpcd /var/service/
fi
;;
esac

View File

@ -1,6 +1,6 @@
# Template file for 'odroid-u2-base'
pkgname=odroid-u2-base
version=1.7
version=1.8
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"