diff options
author | damien <damien@mandriva.com> | 2001-08-21 17:00:42 +0000 |
---|---|---|
committer | damien <damien@mandriva.com> | 2001-08-21 17:00:42 +0000 |
commit | 203fe77dac0199ad90ca280cf9a28443206c5355 (patch) | |
tree | e6c59a5656c5451874eb783d84f10ba00a05a853 | |
parent | 99a39fc2b2c18f646e5774525f396d23228fcf1c (diff) | |
download | drakx-203fe77dac0199ad90ca280cf9a28443206c5355.tar drakx-203fe77dac0199ad90ca280cf9a28443206c5355.tar.gz drakx-203fe77dac0199ad90ca280cf9a28443206c5355.tar.bz2 drakx-203fe77dac0199ad90ca280cf9a28443206c5355.tar.xz drakx-203fe77dac0199ad90ca280cf9a28443206c5355.zip |
log updatede
-rwxr-xr-x | perl-install/standalone/net_monitor | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/standalone/net_monitor b/perl-install/standalone/net_monitor index 9e1397975..3fa961e32 100755 --- a/perl-install/standalone/net_monitor +++ b/perl-install/standalone/net_monitor @@ -121,7 +121,11 @@ gtkadd($window1, 1, gtksignal_connect(my $button_connect = new Gtk::Button(), clicked => \&connection), 0, new Gtk::VSeparator, 0, gtkpack(new Gtk::VBox(0,5), - gtksignal_connect(new Gtk::Button(_("Logs")), clicked => sub { system("/usr/sbin/logdrake --file /var/log/messages &") }), + gtksignal_connect(new Gtk::Button(_("Logs")), clicked => sub { + -e "/usr/sbin/logdrake" + ? system('/usr/sbin/logdrake --file /var/log/messages &') + : system('/usr/X11R6/bin/xvt -e "tail -f /var/log/messages " &') + }), gtksignal_connect(my $button_close = new Gtk::Button(_("Close")), clicked => sub { Gtk->exit(0) }), ) ) |