#!/usr/local/bin/perl
# restart_mountd.cgi
# Do whatever is needed to apply changes to the exports file

require './bsdexports-lib.pl';
$whatfailed = "Failed to apply changes";
$out = &backquote_logged("($config{'restart_command'}) </dev/null 2>&1");
if ($?) {
	# something went wrong.. display an error
	&error($out);
	}
&redirect("");
