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:
ms
2006-08-21 19:15:32 +00:00
parent 92b5fba450
commit 957fb958c6
7 changed files with 79 additions and 43 deletions

View File

@@ -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
}
}
}