2005-06-15 Dan Williams <dcbw@redhat.com>

Patches from Robert Love:
	* gnome/applet/wireless-applet.glade
		- Tighten up wording

	* src/NetworkManagerDevice.c
		- Remove misplaced ';'

	* configure.in
	  initscript/Makefile.am
	  initscript/SUSE/Makefile.am
	  initscript/SUSE/networkmanager
		- Add SUSE initscript


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@669 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2005-06-15 11:59:43 +00:00
parent aef6d5c572
commit ecec2ec062
8 changed files with 73 additions and 2 deletions

View File

@@ -11,3 +11,6 @@ endif
if TARGET_SLACKWARE
SUBDIRS += Slackware
endif
if TARGET_SUSE
SUBDIRS += SUSE
endif

View File

@@ -0,0 +1,4 @@
EXTRA_DIST = networkmanager
initddir = $(sysconfdir)/init.d
initd_SCRIPTS = networkmanager

View File

@@ -0,0 +1,47 @@
#! /bin/sh
### BEGIN INIT INFO
# Provides: NetworkManager
# Required-Start: $network $dbus
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Description: NetworkManager, a network and wireless connection manager
### END INIT INFO
NETWORKMANAGER_BIN=/opt/gnome/bin/NetworkManager
test -x $NETWORKMANAGER_BIN || exit 5
. /etc/rc.status
rc_reset
case "$1" in
start)
echo -n "Starting the NetworkManager"
startproc $NETWORKMANAGER_BIN
rc_status -v
;;
stop)
echo -n "Shutting down the NetworkManager"
killproc -TERM $NETWORKMANAGER_BIN
rc_status -v
;;
restart)
$0 stop
$0 start
rc_status
;;
force-reload|reload)
echo -n "Reloading the NetworkManager"
killproc -HUP $NETWORKMANAGER_BIN
rc_status -v
;;
status)
echo -n "Checking for the NetworkManager: "
checkproc $NETWORKMANAGER_BIN
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
exit 1
;;
esac