12 lines
377 B
Text
12 lines
377 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
|
|
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
|