cubieboard2-base: create runit runlevel dir to enable def services.

This commit is contained in:
Juan RP 2015-03-24 10:49:50 +01:00
parent c55499729e
commit ab01899688
2 changed files with 3 additions and 2 deletions

View file

@ -3,7 +3,8 @@ post)
# enable sshd, ntpdate, ntpd and dhcpcd services.
if [ -x /usr/bin/systemctl ]; then
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
elif [ -d etc/runit/runsvdir/default ]; then
else
mkdir -p etc/runit/runsvdir/default/
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/
ln -s /etc/sv/dhcpcd etc/runit/runsvdir/default/

View file

@ -1,6 +1,6 @@
# Template file for 'cubieboard2-base'
pkgname=cubieboard2-base
version=2.1
version=2.2
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"