2 # restart_exporting.cgi
3 # Call unexportall and exportall to stop and re-start file exporting
5 require './hpuxexports-lib.pl';
6 $whatfailed = "Failed to apply changes";
9 system("$config{unexport_all_command} >/dev/null 2>$temp");
10 $why = `/bin/cat $temp`;
13 # &error("Unexport failed : </h2><pre>$why</pre>");
15 system("$config{export_all_command} >/dev/null 2>$temp");
16 $why = `/bin/cat $temp`;
19 &error("Export failed : </h2><pre>$why</pre>");