Handle hostnames with upper-case letters
[webmin.git] / dfsadmin / restart_sharing.cgi
1 #!/usr/local/bin/perl
2 # restart_sharing.cgi
3 # Call unshareall and shareall to stop and re-start file sharing
4
5 require './dfs-lib.pl';
6 $access{'view'} && &error($text{'ecannot'});
7 &error_setup($text{'restart_err'});
8 $err = &apply_configuration();
9 &error($err) if ($err);
10 &webmin_log("apply");
11 &redirect("");
12