diff options
author | unammx <unammx> | 2001-07-19 00:40:17 +0000 |
---|---|---|
committer | unammx <unammx> | 2001-07-19 00:40:17 +0000 |
commit | ffe597ce0f19f6b9780e8ec062f67adb663e783e (patch) | |
tree | 0dbd7352fe18c7f0fed0599c19caa4992cb238b5 /network.pl.in | |
parent | 8ac069879faadb628a920e2bdd6df1f51931888a (diff) |
2001-07-18 Arturo Espinosa Aldama <arturo@ximian.com>
* file.pl.in (xst_file_run): Accept a flag arg $background
that will run the command on background.
(xst_file_run_bg): Wrapper to this.
* users-conf.in (xml_parse_users): Ignore profiles tag.
(xml_parse_profiles): Profiles record is a ref to an array.
Diffstat (limited to 'network.pl.in')
-rw-r--r-- | network.pl.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/network.pl.in b/network.pl.in index 2140488..0d2667e 100644 --- a/network.pl.in +++ b/network.pl.in @@ -753,7 +753,7 @@ sub xst_network_suse70_ppp_iface_activate { &xst_debug_print_string ("\n\nifup ppp iface $name\n\n"); print STDERR ("\n\nifup ppp iface $name\n\n"); - return -1 if &xst_file_run ("$wvdial_dod start \"$name\" &"); + return -1 if &xst_file_run_bg ("$wvdial_dod start \"$name\""); } else { @@ -1036,7 +1036,7 @@ sub xst_network_rh62_interface_activate_by_dev &xst_report ("network_iface_activate", $dev); &xst_debug_print_string ("\n\nifup $dev\n\n"); print STDERR ("\n\nifup $dev\n\n"); - return -1 if &xst_file_run ("ifup $dev &"); + return -1 if &xst_file_run_bg ("ifup $dev"); } else { @@ -1093,7 +1093,7 @@ sub xst_network_suse70_interface_activate_by_dev &xst_report ("network_iface_deactivate", $hash{"dev"}); &xst_debug_print_string ("\n\nifup $dev\n\n"); print STDERR ("\n\nifup $dev\n\n"); - return -1 if &xst_file_run ("$network start $dev &"); + return -1 if &xst_file_run_bg ("$network start $dev"); } else { |