diff --git a/srcpkgs/rpi-base/INSTALL b/srcpkgs/rpi-base/INSTALL index 5cf298084da..add2868470c 100644 --- a/srcpkgs/rpi-base/INSTALL +++ b/srcpkgs/rpi-base/INSTALL @@ -1,6 +1,12 @@ case "$ACTION" in post) # enable sshd, ntpdate, ntpd and dhcpcd services. - systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service + if [ -x /usr/bin/systemctl ]; then + systemctl enable 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/rpi-base/template b/srcpkgs/rpi-base/template index a8e4e17065c..4c77173b000 100644 --- a/srcpkgs/rpi-base/template +++ b/srcpkgs/rpi-base/template @@ -1,6 +1,6 @@ # Template file for 'rpi-base' pkgname=rpi-base -version=1.6 +version=1.7 revision=1 homepage="http://www.voidlinux.eu" short_desc="Void Linux RaspberryPi base files"