diff options
author | unammx <unammx> | 2001-07-16 08:03:05 +0000 |
---|---|---|
committer | unammx <unammx> | 2001-07-16 08:03:05 +0000 |
commit | 0b5f5c4be3a0f3bc272ab6ba927929e5f9f3ab5d (patch) | |
tree | d931cfd17914789c3a20fef1814f01f8b27f90b8 /file.pl.in | |
parent | c316c80feb3131fdbc52ea67c794cc4baf60c8a4 (diff) |
Sat Jul 14 11:54:50 2001 Arturo Espinosa Aldama <arturo@ximian.com>
* file.pl.in (xst_file_run): Added PATH=$PATH:/sbin:/usr/sbin
to the running command, as these important routes may not be
set by the mortal user, and the executed scripts may fail (ie
debian's ifup/ifdown fail when tool run by normal user).
* network-conf.in (enable_iface): A directive handler that
ifup/ifdowns a given interface.
$directives: added directive entry, params and description.
Diffstat (limited to 'file.pl.in')
-rw-r--r-- | file.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -480,7 +480,7 @@ sub xst_file_run &xst_report_leave (); # As documented in perlfunc, divide by 256. - return (system ("$command > /dev/null 2> /dev/null") / 256); + return (system ("PATH=$PATH:/sbin:/usr/sbin $command > /dev/null 2> /dev/null") / 256); } |