From e9b93228f6e7651cd745aa8000049bbd003f8214 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 26 Aug 2018 16:11:42 -0300 Subject: [PATCH] rpi-base: remove unused systemd code. --- srcpkgs/rpi-base/INSTALL | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/rpi-base/INSTALL b/srcpkgs/rpi-base/INSTALL index 98c9efbb074..f494b16c13d 100644 --- a/srcpkgs/rpi-base/INSTALL +++ b/srcpkgs/rpi-base/INSTALL @@ -1,13 +1,8 @@ case "$ACTION" in post) - # enable sshd, ntpdate, ntpd and dhcpcd services. - if [ -x /usr/bin/systemctl ]; then - systemctl enable sshd.service ntpdate.service ntpd.service dhcpcd.service - else - mkdir -p etc/runit/runsvdir/default/ - ln -sf /etc/sv/sshd etc/runit/runsvdir/default/ - ln -sf /etc/sv/ntpd etc/runit/runsvdir/default/ - ln -sf /etc/sv/dhcpcd etc/runit/runsvdir/default/ - fi + mkdir -p etc/runit/runsvdir/default/ + ln -sf /etc/sv/sshd etc/runit/runsvdir/default/ + ln -sf /etc/sv/ntpd etc/runit/runsvdir/default/ + ln -sf /etc/sv/dhcpcd etc/runit/runsvdir/default/ ;; esac