Files
webmin/exports/restart_mountd.cgi
2014-05-30 17:17:27 -07:00

14 lines
302 B
Perl
Executable File

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