MPFire Streaming beigebracht, zumindest m3u Files

VPN-Watch nochmal angepasst
DHCP Start Delay kleiner gesetzt
UpdateBooster um ein paar Icons bereichert
Favicon transparent gemacht, der FF will dennoch nicht damit


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@658 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
maniacikarus
2007-07-03 19:59:13 +00:00
parent 186e3d2cf8
commit a2d5130fb5
12 changed files with 97 additions and 21 deletions

View File

@@ -11,7 +11,13 @@ my $i = 0;
my $file = "/var/run/vpn-watch.pid";
my $debug = 0;
if ( -e $file ){logger("There my be another vpn-watch runnning $file exists, vpn-watch will not start.");exit 1;}
if ( -e $file ){
logger("There my be another vpn-watch runnning because $file exists, vpn-watch will try kill the process.");
open(FILE, "<$file");
my $PID = <FILE>;
close(FILE);
system("kill -9 $PID");
}
if ($debug){logger("Call of vpn-watch pid not is not existing.");}
system("echo $$ > $file");
@@ -20,7 +26,7 @@ while ( $i == 0){
sleep(300);
if ($debug){logger("We will wait 300 seconds before next action.");}
if (open(FILE, "${General::swroot}/vpn/config")) {
if (open(FILE, "<${General::swroot}/vpn/config")) {
@vpnsettings = <FILE>;
close(FILE);
unless(@vpnsettings) {exit 1;}