void-packages/srcpkgs/rpi-base/INSTALL

13 lines
395 B
Plaintext
Raw Normal View History

case "$ACTION" in
post)
# enable sshd, ntpdate, ntpd and dhcpcd services.
2014-07-28 22:20:08 +02:00
if [ -x /usr/bin/systemctl ]; then
systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service
elif [ -d etc/runit/runsvdir/default ]; then
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/
2014-07-28 22:20:08 +02:00
fi
;;
esac