Example #1
0
<?php

include "/etc/services/INET/interface.php";
fwrite("w", $START, "#!/bin/sh\n");
fwrite("w", $STOP, "#!/bin/sh\n");
ifchildsetup("LAN-2");
Example #2
0
<?php

include "/etc/services/INET/interface.php";
fwrite("w", $START, "#!/bin/sh\n");
fwrite("w", $STOP, "#!/bin/sh\n");
ifchildsetup("LAN-3");
Example #3
0
<?php

include "/etc/services/INET/interface.php";
fwrite("w", $START, "#!/bin/sh\n");
fwrite("w", $STOP, "#!/bin/sh\n");
ifchildsetup("WAN-3");
fwrite("a", $START, "#sleep 2\n");
Example #4
0
<?php

include "/etc/services/INET/interface.php";
fwrite("w", $START, "#!/bin/sh\n");
fwrite("w", $STOP, "#!/bin/sh\n");
ifchildsetup("LAN-1");
Example #5
0
<?php

include "/etc/services/INET/interface.php";
fwrite("w", $START, "#!/bin/sh\n");
fwrite("w", $STOP, "#!/bin/sh\n");
ifchildsetup("LAN-4");
//fwrite("a",$START, "sleep 2\n");