]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Strongswan: Remove unnecessary commands concern initscripts
authorJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 6 Mar 2017 16:25:10 +0000 (17:25 +0100)
committerJonatan Schlag <jonatan.schlag@ipfire.org>
Mon, 6 Mar 2017 16:25:10 +0000 (17:25 +0100)
It is not necessary to copy the init scripts and remove the symlinks for
runnlevel interaction.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
lfs/strongswan

index 9e8f155e66f83015da03ba9b121d12b3f7781f41..0af9e9dbeea90b1571bce988bcada077f871f977 100644 (file)
@@ -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