mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Programmupdate:
* Samba 3.0.23a --> 3.0.23b Geändert: * ConnectionScheduler kann jetzt VPNs starten/beenden. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@254 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -210,5 +210,19 @@ sub timer
|
||||
&General::log("ConnSched shutdown");
|
||||
system ("/usr/local/bin/ipfirereboot", "down");
|
||||
}
|
||||
elsif ( $CONNSCHED::config[$i]{'ACTION'} eq 'ipsecstart' )
|
||||
{
|
||||
&General::log("ConnSched ipsecstart");
|
||||
system ("/usr/local/bin/ipsecctrl", "S");
|
||||
}
|
||||
elsif ( $CONNSCHED::config[$i]{'ACTION'} eq 'ipsecstop' )
|
||||
{
|
||||
&General::log("ConnSched ipsecstop");
|
||||
system ("/usr/local/bin/ipsecctrl", "D");
|
||||
}
|
||||
else
|
||||
{
|
||||
# okay ? an event we don't know about
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user