rpi-base: update INSTALL for runit.
This commit is contained in:
parent
1c807d291e
commit
d10bf7668e
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,12 @@
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
# 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
|
esac
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'rpi-base'
|
# Template file for 'rpi-base'
|
||||||
pkgname=rpi-base
|
pkgname=rpi-base
|
||||||
version=1.6
|
version=1.7
|
||||||
revision=1
|
revision=1
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
short_desc="Void Linux RaspberryPi base files"
|
short_desc="Void Linux RaspberryPi base files"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue