cubieboard2-base: update INSTALL for runit.

This commit is contained in:
Juan RP 2014-07-28 22:20:59 +02:00
parent d10bf7668e
commit a451a5617a
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
case "$ACTION" in
post)
# enable sshd, ntpdate, ntpd and dhcpcd services.
if [ -x usr/bin/systemctl ]; then
if [ -x /usr/bin/systemctl ]; then
systemctl enable 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 'cubieboard2-base'
pkgname=cubieboard2-base
version=1.5
version=1.6
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"