Files
webmin/exports-nfs4/restart_mountd.cgi
2008-06-04 22:20:40 +00:00

11 lines
250 B
Perl
Executable File

#!/usr/bin/perl
# restart_mountd.cgi
# Do whatever is needed to apply changes to the exports file
require './exports-lib.pl';
&error_setup($text{'restart_err'});
$err = &restart_mountd();
&error($err) if ($err);
&webmin_log('apply');
&redirect("");