Files
webmin/net/apply.cgi

12 lines
212 B
Perl
Executable File

#!/usr/local/bin/perl
# apply.cgi
# Apply the current network config
require './net-lib.pl';
$access{'apply'} || &error($text{'apply_ecannot'});
&apply_network();
sleep(1);
&webmin_log("apply");
&redirect("");