From 713151aaa8a4d3af467081912bca7991db4d5af6 Mon Sep 17 00:00:00 2001 From: Jonatan Schlag Date: Mon, 6 Mar 2017 17:25:10 +0100 Subject: [PATCH] Strongswan: Remove unnecessary commands concern initscripts It is not necessary to copy the init scripts and remove the symlinks for runnlevel interaction. Signed-off-by: Jonatan Schlag --- lfs/strongswan | 2 -- 1 file changed, 2 deletions(-) diff --git a/lfs/strongswan b/lfs/strongswan index 9e8f155e66..0af9e9dbee 100644 --- a/lfs/strongswan +++ b/lfs/strongswan @@ -108,8 +108,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Remove all library files we don't want or need. rm -vf /usr/lib/ipsec/plugins/*.{,l}a - -rm -rfv /etc/rc*.d/*ipsec - cd $(DIR_SRC) && cp src/initscripts/init.d/ipsec /etc/rc.d/init.d/ipsec rm -f /etc/ipsec.conf /etc/ipsec.secrets ln -sf $(CONFIG_ROOT)/vpn/ipsec.conf /etc/ipsec.conf ln -sf $(CONFIG_ROOT)/vpn/ipsec.secrets /etc/ipsec.secrets -- 2.39.5