2006-04-26 Robert Love <rml@novell.com>

* tests/nm-online.c: New file.  Simple utility that returns exit status
	  noting whether the connection is offline or online.  If offline on
	  start, it waits 60 seconds (or a command-line given value) for an
	  online signal.  If it times out, it again returns offline.  This is
	  useful for scripts that want to wait for network connections.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1706 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love
2006-04-26 19:11:17 +00:00
committed by Robert Love
parent 71b7fcc56a
commit cdb292cc26
2 changed files with 12 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
2006-04-26 Robert Love <rml@novell.com>
* tests/nm-online.c: New file. Simple utility that returns exit status
noting whether the connection is offline or online. If offline on
start, it waits 60 seconds (or a command-line given value) for an
online signal. If it times out, it again returns offline. This is
useful for scripts that want to wait for network connections.
2006-04-25 Robert Love <rml@novell.com>
* src/nm-ap-security-wep.c: Bug fix: We stopped setting the

View File

@@ -13,12 +13,15 @@ AM_CPPFLAGS = \
-DBINDIR=\"$(bindir)\" \
-DDATADIR=\"$(datadir)\"
noinst_PROGRAMS = nm-tool nminfotest nmtestdevices libnm_glib_test
noinst_PROGRAMS = nm-tool nm-online nminfotest nmtestdevices libnm_glib_test
nm_tool_SOURCES = nm-tool.c
nm_tool_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) $(HAL_LIBS) \
$(top_builddir)/utils/libnmutils.la
nm_online_SOURCES = nm-online.c
nm_online_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) $(HAL_LIBS) \
$(top_builddir)/utils/libnmutils.la
nminfotest_SOURCES = nminfotest.c
nminfotest_LDADD = $(DBUS_LIBS) $(GTHREAD_LIBS) \