mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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 <jonatan.schlag@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user