diff options
author | unammx <unammx> | 2001-07-12 23:29:20 +0000 |
---|---|---|
committer | unammx <unammx> | 2001-07-12 23:29:20 +0000 |
commit | ed0642da2e7192f3ce7c522b6bcd2e0a36275fb7 (patch) | |
tree | 898a17248dc8bba63f1d89cde37a8c3584aeabc0 /network.pl.in | |
parent | 425f8d12a7ba30b69b2e91664164569c10bea848 (diff) |
2001-07-12 Arturo Espinosa Aldama <arturo@ximian.com>
* network.pl.in: Print ifup/ifdown debug reports to STDERR to track problems.
Diffstat (limited to 'network.pl.in')
-rw-r--r-- | network.pl.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/network.pl.in b/network.pl.in index c64dfdb..26be0cf 100644 --- a/network.pl.in +++ b/network.pl.in @@ -752,6 +752,7 @@ sub xst_network_suse70_ppp_iface_activate if ($enabled) { &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\" &"); } else @@ -759,7 +760,8 @@ sub xst_network_suse70_ppp_iface_activate # Hmm... you'd better not have more than one ppp connection active: # this is the only SuSE way of doing it. &xst_debug_print_string ("\n\nifdown ppp iface $name\n\n"); - return -1 if &xst_file_run ("$wvdial_dod stop &"); + print STDERR ("\n\nifdown ppp iface $name\n\n"); + return -1 if &xst_file_run ("$wvdial_dod stop"); } return 0; @@ -1030,11 +1032,13 @@ sub xst_network_rh62_interface_activate_by_dev if ($enabled) { &xst_debug_print_string ("\n\nifup $dev\n\n"); + print STDERR ("\n\nifup $dev\n\n"); return -1 if &xst_file_run ("ifup $dev &"); } else { &xst_debug_print_string ("\n\nifdown $dev\n\n"); + print STDERR ("\n\nifdown $dev\n\n"); return -1 if &xst_file_run ("ifdown $dev"); } @@ -1084,11 +1088,13 @@ sub xst_network_suse70_interface_activate_by_dev if ($enabled) { &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 &"); } else { &xst_debug_print_string ("\n\nifdown $dev\n\n"); + print STDERR ("\n\nifup $dev\n\n"); return -1 if &xst_file_run ("$network stop $dev"); } |