mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-19 15:32:59 +02:00
core45: start vpn-watch only if ipsec is enabled.
This commit is contained in:
@@ -54,8 +54,10 @@ echo Starting Proxy
|
||||
/etc/init.d/squid start 2>/dev/null
|
||||
echo Rewriting Outgoing FW Rules
|
||||
/var/ipfire/outgoing/bin/outgoingfw.pl
|
||||
echo Starting vpn-watch
|
||||
/usr/local/bin/vpn-watch &
|
||||
if [ `grep "ENABLED=on" /var/ipfire/vpn/setting` ]; then
|
||||
echo Starting vpn-watch
|
||||
/usr/local/bin/vpn-watch &
|
||||
fi
|
||||
|
||||
#
|
||||
#Update Language cache
|
||||
|
||||
Reference in New Issue
Block a user