Commit Graph

31 Commits

Author SHA1 Message Date
Pavel Šimerda
3ee36a6f74 distro: don't install initscripts
It doesn't make much sense to install initscripts in current distributions. Most
of them either don't use initscripts at all, locally patch the initscripts or
supply their own. This allows us to eventually drop the --with-distro configure
option.

Many current distributions support multiple init systems and it doesn't make
sense for upstream to make the choice for them. Distributors can still make
their scripts copy one of the initscripts from the source tree if they wish so.
2012-10-30 00:36:04 +01:00
Dan Williams
530f2674d4 initscript: don't install Red Hat/Fedora sysv iniscript with systemd
We ship systemd native unit files when systemd is configured so we
don't need to install the sysvinit stuff.
2011-07-07 11:16:07 -05:00
Michael Biebl
ee259ff79a Only ship input files for SysV init scripts in dist tarball
And let AC_CONFIG_FILES() take care of including them
2011-03-29 01:01:28 +02:00
Dan Williams
276fed0322 initscript: fix RH initscript return value on double-start (rh #584321) (rh #448393) 2010-06-07 22:42:33 -07:00
Dan Williams
bde54958a9 redhat: remove haldaemon dependency from initscript (rh #542078) 2009-11-30 10:48:40 -08:00
Michael Biebl
c733dbf6d0 Remove .cvsignore file, they are obsolete 2008-12-19 21:23:08 -05:00
Dan Williams
d8c3e783ef Allow blocking startup until there's a connection
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3732 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-08 23:56:34 +00:00
Dan Williams
a538a68ea5 Don't care when HAL gets shut down
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3720 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-04 21:34:17 +00:00
Dan Williams
7bfd90e444 Stop NM later in the shutdown process
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3718 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-04 20:46:29 +00:00
Dan Williams
bd775190db Remove unused /sbin/ip check from initscripts (Benoit Boissinot)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3705 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-05-29 18:29:51 +00:00
Dan Williams
03194ce96d 2008-04-27 Dan Williams <dcbw@redhat.com>
* Makefile.am
	  configure.in
	  dispatcher-daemon/Makefile.am
	  dispatcher-daemon/NetworkManagerDispatcher.c
	  initscript/Arch/Makefile.am
	  initscript/Arch/networkmanager-dispatcher.in
	  initscript/Gentoo/Makefile.am
	  initscript/Gentoo/NetworkManagerDispatcher.in
	  initscript/Mandriva/Makefile.am
	  initscript/Mandriva/networkmanagerdispatcher.in
	  initscript/RedHat/Makefile.am
	  initscript/RedHat/NetworkManagerDispatcher.in
	  initscript/SUSE/Makefile.am
	  initscript/SUSE/networkmanager-dispatcher.in
	  initscript/Slackware/Makefile.am
	  initscript/Slackware/rc.networkmanager-dispatcher.in
	  initscript/paldo/Makefile.am
	  initscript/paldo/NetworkManagerDispatcher.in
	  man/Makefile.am
	  man/NetworkManagerDispatcher.8.in
		- Remove the dispatcher daemon



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3608 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-27 15:22:10 +00:00
Dan Williams
aa6a160443 2008-04-24 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
	  initscript/RedHat/NetworkManagerDispatcher.in
		- Be active at runlevel 2
		- Adjust priorities earlier



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3592 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-24 19:16:11 +00:00
Dan Williams
9587569b5a 2008-02-07 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
	  initscript/RedHat/NetworkManagerDispatcher.in
		- Add new-style LSB init headers



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3302 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-07 21:37:43 +00:00
Dan Williams
91126e546c 2007-12-04 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
		- No longer start named; it's D-Bus interface is going away



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3133 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-12-04 19:36:34 +00:00
Dan Williams
1727289621 Quiet warning about named; it's not required
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2849 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-21 18:32:15 +00:00
Dan Williams
42b3ff71be 2007-09-20 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in
		- dhcdbd is no longer used, so don't try to start it from the initscripts



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2843 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-21 03:50:49 +00:00
Dan Williams
aca1eed80b 2007-04-25 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager.in: remove trailing backslash
		(gnome.org #432401)



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2563 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-04-26 01:33:59 +00:00
Dan Williams
5cb20bf190 2060-05-21 Dan Williams <dcbw@redhat.com>
* initscript/NetworkManager.in
		- Ensure both dhcdbd and named are started before NM


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1752 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-21 20:09:21 +00:00
Dan Williams
f2797de787 Tell status about our pidfile location
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1503 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-27 07:22:39 +00:00
Dan Williams
e64e90cd3b 2006-02-27 Dan Williams <dcbw@redhat.com>
* dispatcher-daemon/NetworkManagerDispatcher.c
		- Accept --pid-file with a path to a pidfile, write it out on
			startup, and delete it on shutdown

	* src/NetworkManager.c
		- Accept --pid-file with a path to a pidfile, write it out on
			startup, and delete it on shutdown
		- Move nm_print_usage() lower

	* initscripts/RedHat/NetworkManager.in
		- Use new --pid-file option
		- Fix service stopping to wait a bit for NM to quit

	* initscripts/RedHat/NetworkManagerDispatcher.in
		- Use new --pid-file option


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1500 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-27 05:50:28 +00:00
Christopher Aillon
5b90082cd1 2006-02-03 Christopher Aillon <caillon@redhat.com>
* initscript/RedHat/NetworkManagerDispatcher.in:
	modify the pidfile location


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1440 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 20:12:00 +00:00
Christopher Aillon
6e01a0e2dd 2006-02-03 Christopher Aillon <caillon@redhat.com>
* initscript/RedHat/NetworkManager.in: modify the pidfile location
	Patch from Dan Walsh <dwalsh@redhat.com>


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1439 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-02-03 20:00:45 +00:00
Robert Love
fd5e3bb0cc 2006-01-20 Robert Love <rml@novell.com>
* initscript/Debian/NetworkManager,
	  initscript/Gentoo/NetworkManager.in,
	  initscript/RedHat/NetworkManager.in,
	  initscript/RedHat/NetworkManagerDispatcher.in,
	  initscript/SUSE/networkmanager-dispatcher.in,
	  initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1372 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-01-21 01:47:41 +00:00
Christopher Aillon
e9607dea0c 2005-08-18 Christopher Aillon <caillon@redhat.com>
* initscript/Gentoo/NetworkManager:
	* initscript/RedHat/NetworkManager:
	* initscript/RedHat/NetworkManagerDispatcher:
	* initscript/SUSE/networkmanager:
	CVS remove these in place of .in replacements

	* configure.in:
	* initscript/Gentoo/NetworkManager.in:
	* initscript/RedHat/NetworkManager.in:
	* initscript/RedHat/NetworkManagerDispatcher.in:
	* initscript/SUSE/networkmanager.in:
	These scripts now are generated so they work still when
	NM is built using a bindir other than /usr/bin


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@880 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-08-18 19:51:11 +00:00
Dan Williams
c1069ccac5 2005-05-15 Dan Williams <dcbw@redhat.com>
* src/NetworkManagerDevice.[ch]
	  src/NetworkManagerPolicy.c
	  src/NetworkManager.c
	  src/nm-dbus-nm.c
		- Remove the "just_added" parameter from nm_device_deactivate().  We no
			longer send the DeviceNoLongerActive signal unconditionally, but only
			when the device is actually active.

	* dispatcher-daemon/NetworkManagerDispatcher.c
		- (nmd_execute_scripts): convert to GLib directory functions from opendir(),
			and simplify the logic
		- (nmd_get_device_name): copy value from dbus reply so we don't segfault when
			we free it later on

	* initscript/RedHat/Makefile.am
	  initscript/RedHat/NetworkManagerDispatcher
		- Add initscript for NetworkManagerDispatcher


	Patch from Bill Moss:
	* dispatcher-daemon/NetworkManagerDispatcher.c
		- Remove IP4AddressChange signal code including nmd_get_device_ip4_address()

	* src/NetworkManagerDbus.c
		- (nm_dbus_signal_device_ip4_address_change): remove.  If the device goes up,
			and DeviceNowActive gets signaled, then the device has a new IP address
			anyway.  There's no need for a separate signal.

	* src/NetworkManagerDevice.c
		- (nm_device_update_ip4_address): Don't send IP4AddressChange signal

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): Send DeviceNowActive signal when the device
			activates successfully.  This kind of went missing when I reworked the
			activation code.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@634 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-05-16 01:28:45 +00:00
Dan Williams
2827e5129c 2005-01-29 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager
		- Don't spit out sysctl stuff to console

	* libnm_glib/libnm_glib.c
		- (libnm_glib_init): call dbus_g_thread_init()

	* panel-applet/NMWirelessAppletDbus.c
		- (nmwa_dbus_worker): call dbus_g_thread_init()

	* src/NetworkManager.c
		- (main): call dbus_g_thread_init()

	* src/NetworkManagerAPList.c
		- (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
			so we can actually see what's there in a normal syslog

	* src/NetworkManagerDevice.c
		- (nm_device_activate_wireless): print out the "waiting for access point"
			message only once, then say what access point we actually got after
			the wait.
		- (nm_device_need_ap_switch): If a scan is in progress when we're in this
			function, wait until the scan is done.  Scans may change the ESSID of
			the card, making this function think we need to switch access points
		- (nm_device_wireless_process_scan_results): for artificial access points
			don't check against the card's ESSID, but the best_ap's ESSID.  This
			prevents collisions with the scanning code, which may change the card's
			ESSID and cause the access point to get dropped from the device's AP
			list.  Also increase the keep-around time to 2m from 60s since the max
			scan interval could be 60s in some cases.

	* src/NetworkManagerPolicy.c
		- (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
		- (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
			the new properties and ESSIDs to the device's AP list.  Fixes some races
			between NM and NMI.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@401 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-01-29 23:34:31 +00:00
Dan Williams
177b361b75 2005-01-24 Dan Williams <dcbw@redhat.com>
* initscript/RedHat/NetworkManager
		- Remove the ### BEGIN INIT INFO section, which caused chkconfig
			to add the NM startup script at priority 50, which was
			way too early


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@395 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-01-24 21:40:30 +00:00
Dan Williams
6ef6195b72 2005-01-12 Dan Williams <dcbw@redhat.com>
* initscripts/RedHat/NetworkManager
		- Change initial level to "-" rather than "345" so that
			we don't activate ourselves by default on install


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@369 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2005-01-12 18:44:07 +00:00
Dan Williams
293f0f0599 2004-12-03 Dan Williams <dcbw@redhat.com>
* initscript/Makefile.am
	* initscript/Debian/NetworkManager
	* initscript/Gentoo/NetworkManager
	* initscript/RedHat/NetworkManager
	* initscript/NMLaunchHelper.c
		- Remove NMLaunchHelper, if you need to wait until the network
			comes up, use the dead code from CVS.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@332 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-12-03 21:32:03 +00:00
Jonathan Blandford
d3aff52822 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
* Makefile.am: add po as a supdir

        * autogen.sh: use gnome-autogen.sh

        * initscript/Gentoo/.cvsignore:
        * initscript/RedHat/.cvsignore: Shut up cvs

        * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.

        * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
        (nmwa_fill): Use gettext.

        * configure.in: add gettext support
        * po/.cvsignore:
        * po/NetworkManager.pot:
        * po/POTFILES.in:


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@80 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-26 19:14:26 +00:00
Seth Nickell
c085e3b6c8 Add init scripts
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@65 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2004-08-25 21:00:21 +00:00