void-packages/srcpkgs/odroid-u2-base/INSTALL

13 lines
425 B
Text

case "$ACTION" in
post)
# enable odroid-led, sshd, ntpdate, ntpd and dhcpcd services.
if [ -x /usr/bin/systemctl ]; then
systemctl enable odroid-led.service sshd.service ntpdate.service ntpd.service dhcpcd.service
else
mkdir -p etc/runit/runsvdir/default/
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/
fi
;;
esac