mirror of
https://github.com/webmin/webmin.git
synced 2025-07-25 01:23:45 +00:00
13 lines
308 B
Perl
Executable File
13 lines
308 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# restart_sharing.cgi
|
|
# Call unshareall and shareall to stop and re-start file sharing
|
|
|
|
require './dfs-lib.pl';
|
|
$access{'view'} && &error($text{'ecannot'});
|
|
&error_setup($text{'restart_err'});
|
|
$err = &apply_configuration();
|
|
&error($err) if ($err);
|
|
&webmin_log("apply");
|
|
&redirect("");
|
|
|