From 2fdc1680b020480212bc451430ad77c472ae46f3 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 26 Aug 2018 16:18:29 -0300 Subject: [PATCH] bananapi-base: remove unused systemd code. --- srcpkgs/bananapi-base/INSTALL | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/srcpkgs/bananapi-base/INSTALL b/srcpkgs/bananapi-base/INSTALL index 66c9c656fa9..b31894af778 100644 --- a/srcpkgs/bananapi-base/INSTALL +++ b/srcpkgs/bananapi-base/INSTALL @@ -1,13 +1,8 @@ case "$ACTION" in post) - # enable sshd, ntpdate, ntpd and dhcpcd services. - if [ -x /usr/bin/systemctl ]; then - systemctl 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