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

This commit is contained in:
Juan RP 2015-03-24 10:52:20 +01:00
parent 43677f2b2b
commit 08c40bf286
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,8 @@ post)
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
if [ -x /usr/bin/systemctl ]; then
systemctl enable odroid-led.service 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,7 +1,7 @@
# Template file for 'odroid-u2-base'
pkgname=odroid-u2-base
version=2.0
revision=2
version=2.1
revision=1
build_style=meta
homepage="http://www.voidlinux.eu"
short_desc="Void Linux Odroid U2 platform package"