cubieboard2-base: create runit runlevel dir to enable def services.
This commit is contained in:
parent
c55499729e
commit
ab01899688
|
@ -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/
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue