From: Jonatan Schlag Date: Mon, 6 Mar 2017 16:25:10 +0000 (+0100) Subject: Strongswan: Remove unnecessary commands concern initscripts X-Git-Tag: v2.19-core110^2~30^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=713151aaa8a4d3af467081912bca7991db4d5af6;p=people%2Fstevee%2Fipfire-2.x.git 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 --- 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