Commit Graph

84 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
d2c3a32e18 mandriva: add DefaultStop levels to initscript (bgo #669872)
Reported by Olav Vitters
2012-03-09 12:43:35 -06: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
Ionut Biru
089e2f5847 arch: create /var/run/NetworkManager if doesn't exist in initscripts (bgo #643902) 2011-03-08 14:27:30 +01:00
Robby Workman
2b9392950e slackware: add short sleep to initscript during service restart
The restart() function almost never works here - perhaps some part
of NM takes a bit too long to stop() and then blocks the start()
operation - but "sleep 2" between them makes everything fine.
2011-01-11 13:48:48 -06:00
Robby Workman
1d56981c8b slackware: remove HAL requirement from initscript 2011-01-11 13:48:06 -06:00
Alex Vogt
d40c81b06a linexa: add basic Linexa support 2010-10-08 23:03:10 -05: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
39ad6084ac arch: remove hal dependency from initscript (bgo #605530) 2009-12-28 19:01:57 -06:00
Dan Williams
bde54958a9 redhat: remove haldaemon dependency from initscript (rh #542078) 2009-11-30 10:48:40 -08:00
Dan Williams
12b70aba52 gentoo: don't need hal anymore 2009-07-06 14:30:48 -04:00
Michael Biebl
c733dbf6d0 Remove .cvsignore file, they are obsolete 2008-12-19 21:23:08 -05:00
Michael Biebl
a3bce59091 Do also not hard code the pid file location.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4266 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-11-05 16:50:30 +00:00
Michael Biebl
3a2eb0bbcb Do not hard code the path to the NetworkManager binary
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4265 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-11-05 16:42:54 +00:00
Michael Biebl
bfccc6273b 2008-11-05 Michael Biebl <mbiebl@gmail.com>
* initscripts/Debian/NetworkManager
		- Update to what Debian is actually using



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4264 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-11-05 16:08:52 +00:00
Dan Williams
0e1c398c66 Add bits to optionally block startup until a conneciton is made
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-06-10 20:48:44 +00: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
d1fcfe9474 2008-04-27 Dan Williams <dcbw@redhat.com>
Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>

	* initscript/paldo/NetworkManager.in
	  initscript/SUSE/networkmanager.in
		- Remove last bits of dhcdbd



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3615 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-28 04:29:03 +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
Saleem Abdulrasool
6dc89ddc9d fix starting of the daemon
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3602 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-27 00:24:58 +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
e9e6f3124c 2008-04-01 Dan Williams <dcbw@redhat.com>
Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>

	* configure.in
	  initscript/Makefile.am
	  initscript/Mandriva/Makefile.am
	  initscript/Mandriva/networkmanager.in
	  initscript/Mandriva/networkmanagerdispatcher.in
	  src/backends/Makefile.am
	  src/backends/NetworkManagerMandriva.c
	  system-settings/plugins/Makefile.am
		- Add Mandriva support



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3523 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-04-01 21:26:09 +00:00
Dan Williams
7d694073be 2008-03-25 Dan Williams <dcbw@redhat.com>
Patch from Björn Martensen <bjoern.martensen@gmail.com>

	* initscript/Arch/networkmanager.in
	  initscript/Arch/networkmanager-dispatcher.in
		- Updates for Arch Linux



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3503 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-03-25 13:21:08 +00:00
Dan Williams
2a80111913 dhdcdb no longer needed (Björn Martensen <bjoern.martensen@gmail.com>)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3483 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-03-19 21:15:16 +00:00
Saleem Abdulrasool
616663c69d new initscripts for Gentoo
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3346 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2008-02-28 06:07:50 +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
Juerg Billeter
eb179bc0ad 2007-09-26 Juerg Billeter <j@bitron.ch>
* initscript/paldo/NetworkManager.in:
	* initscript/paldo/NetworkManagerDispatcher.in:
	* src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
	(nm_system_flush_loopback_routes): update paldo backend


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2888 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2007-09-26 11:08:39 +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
Robert Love
0941a4059b update .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1744 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-05-17 21:31:00 +00:00
Nicolas Trangez
8d569f052f Gentoo initscript and backend updates
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1693 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-18 17:06:03 +00:00
Dan Williams
e5040768d1 2006-04-16 Dan Williams <dcbw@redhat.com>
Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
	* configure.in
	  initscript/Slackware/Makefile.am
	  initscript/Slackware/rc.networkmanager-dispatcher.in
	  initscript/Slackware/rc.networkmanager.in
		- Update slackware initscripts


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1688 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-17 02:03:09 +00:00
Tor Krill
3f94755dfe 2006-04-02 Tor Krill <tor@krill.nu>
* initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
          in start of service.
        * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
          get Archlinux backend up to date.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1669 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-04-02 14:34:29 +00:00
Robert Love
49631334f5 Add .cvsignore files
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1663 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-30 14:41:35 +00:00
Jürg Billeter
ce811e32be 2006-03-27 Jürg Billeter <j@bitron.ch>
* configure.in:
	* initscript/Makefile.am:
	* initscript/paldo/Makefile.am:
	* initscript/paldo/NetworkManager.in:
	* initscript/paldo/NetworkManagerDispatcher.in:
	* src/backends/Makefile.am:
	* src/backends/NetworkManagerPaldo.c:
		- Add paldo support


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1654 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 19:58:03 +00:00
Dan Williams
792cb5b89c 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Tor Krill <bugzilla@krill.nu>
	* configure.in
	  initscript/Makefile.am
	  src/backends/Makefile.am
	  src/backends/NetworkManagerArch.c
	  initscript/Arch/Makefile.am
	  initscript/Arch/networkmanager-dispatcher.in
	  initscript/Arch/networkmanager.in
		- Add Arch Linux support, fixes gnome.org #335147


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1649 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:30:52 +00:00
Dan Williams
c5a395f65d 2006-03-27 Dan Williams <dcbw@redhat.com>
Patch from Diffe <diffie@blazebox.homeip.net>
     * initscript/Slackware/rc.networkmanager
     	- update, fixed gnome.org #333368


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1648 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-27 18:13:05 +00:00
Robert Love
c7e71729b7 2006-03-15 Robert Love <rml@novell.com>
* src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
	  the system init scripts (or some other mechanism) starting it (or a
	  compatible DBUS service) before NetworkManager runs.  This means that
	  distributions might need to update their init scripts.  This fixes
	  possible races and is quite a bit cleaner.
	* initscript/SUSE/networkmanager.in: Update to start dhcdbd before
	  starting the NetworkManager daemon.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1607 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
2006-03-15 15:32:37 +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