diff --git a/srcpkgs/odroid-u2-base/INSTALL b/srcpkgs/odroid-u2-base/INSTALL index bbc03e5146e..69101ae15e0 100644 --- a/srcpkgs/odroid-u2-base/INSTALL +++ b/srcpkgs/odroid-u2-base/INSTALL @@ -1,6 +1,12 @@ case "$ACTION" in post) # enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services. - systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service + if [ -x /usr/bin/systemctl ]; then + systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service + elif [ -x /usr/bin/runit-init ]; then + ln -s /etc/sv/sshd /var/service/ + ln -s /etc/sv/ntpd /var/service/ + ln -s /etc/sv/dhcpcd /var/service/ + fi ;; esac diff --git a/srcpkgs/odroid-u2-base/template b/srcpkgs/odroid-u2-base/template index 5d4a0ae227a..4881d902f34 100644 --- a/srcpkgs/odroid-u2-base/template +++ b/srcpkgs/odroid-u2-base/template @@ -1,6 +1,6 @@ # Template file for 'odroid-u2-base' pkgname=odroid-u2-base -version=1.7 +version=1.8 revision=1 build_style=meta homepage="http://www.voidlinux.eu"