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

This commit is contained in:
Juan RP 2015-03-24 10:53:09 +01:00
parent 08c40bf286
commit a6d2398f72
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/acpid etc/runit/runsvdir/default/
ln -s /etc/sv/sshd etc/runit/runsvdir/default/
ln -s /etc/sv/ntpd etc/runit/runsvdir/default/

View File

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