bananapi-base: create runit runlevel dir to enable def services.
This commit is contained in:
parent
ab01899688
commit
43677f2b2b
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,8 @@ post)
|
|||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||
if [ -x /usr/bin/systemctl ]; then
|
||||
systemctl 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,7 +1,7 @@
|
|||
# Template file for 'bananapi-base'
|
||||
# Based on odroid-u2-base
|
||||
pkgname=bananapi-base
|
||||
version=1.0
|
||||
version=1.2
|
||||
revision=1
|
||||
build_style=meta
|
||||
homepage="http://www.voidlinux.eu"
|
||||
|
|
Loading…
Add table
Reference in a new issue