3 # Do whatever is needed to apply changes to the exports file
5 require './exports-lib.pl';
6 $whatfailed = "Failed to apply changes";
7 &system_logged("$config{'portmap_command'} >/dev/null 2>&1 </dev/null")
8 if ($config{'portmap_command'});
10 $rv = &system_logged("($config{'restart_command'}) </dev/null >$temp 2>&1");
13 #if ($rv) { <-- This seems to be a bug
15 # something went wrong.. display an error