mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
core59: start/stop ipsec and ssh at update.
This commit is contained in:
@@ -34,12 +34,15 @@ done
|
||||
|
||||
#
|
||||
#Stop services
|
||||
/etc/init.d/ipsec stop
|
||||
/etc/init.d/sshd stop
|
||||
|
||||
#
|
||||
#Extract files
|
||||
|
||||
#
|
||||
#Start services
|
||||
/etc/init.d/sshd start
|
||||
if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user