From d574c60445b8f2d43f26fecede92d2f2f1d740a4 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 27 Aug 2018 14:58:30 -0300 Subject: [PATCH] odroid-u2-base: remove unused systemd code --- srcpkgs/odroid-u2-base/INSTALL | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/odroid-u2-base/INSTALL b/srcpkgs/odroid-u2-base/INSTALL index 42a10e86742..b31894af778 100644 --- a/srcpkgs/odroid-u2-base/INSTALL +++ b/srcpkgs/odroid-u2-base/INSTALL @@ -1,13 +1,8 @@ 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 + 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/ ;; esac