odroid-u2-base: remove unused systemd code

This commit is contained in:
maxice8 2018-08-27 14:58:30 -03:00
parent 2f552bcb98
commit d574c60445
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 4 additions and 9 deletions

View File

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