mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
cubieboard2-base: update INSTALL for runit.
This commit is contained in:
parent
d10bf7668e
commit
a451a5617a
2 changed files with 6 additions and 2 deletions
|
@ -1,8 +1,12 @@
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
post)
|
post)
|
||||||
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
# enable sshd, ntpdate, ntpd and dhcpcd services.
|
||||||
if [ -x usr/bin/systemctl ]; then
|
if [ -x /usr/bin/systemctl ]; then
|
||||||
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
|
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
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'cubieboard2-base'
|
# Template file for 'cubieboard2-base'
|
||||||
pkgname=cubieboard2-base
|
pkgname=cubieboard2-base
|
||||||
version=1.5
|
version=1.6
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meta
|
build_style=meta
|
||||||
homepage="http://www.voidlinux.eu"
|
homepage="http://www.voidlinux.eu"
|
||||||
|
|
Loading…
Add table
Reference in a new issue