mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 08:50:07 +01:00
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
This commit is contained in:
parent
6b17d9055b
commit
aa6a160443
2 changed files with 12 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# NetworkManager: NetworkManager daemon
|
||||
#
|
||||
# chkconfig: - 98 02
|
||||
# chkconfig: - 27 73
|
||||
# description: This is a daemon for automatically switching network \
|
||||
# connections to the best available connection.
|
||||
#
|
||||
|
|
@ -10,10 +10,10 @@
|
|||
# pidfile: /var/run/NetworkManager/NetworkManager.pid
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: network_manager
|
||||
# Required-Start: $local_fs messagebus haldaemon
|
||||
# Required-Stop: $local_fs messagebus haldaemon
|
||||
# Default-Start: 3 4 5
|
||||
# Provides: network_manager $network
|
||||
# Required-Start: messagebus haldaemon
|
||||
# Required-Stop: messagebus haldaemon
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start and stop NetworkManager
|
||||
# Description: NetworkManager is a tool for easily managing network connections
|
||||
|
|
@ -43,8 +43,10 @@ RETVAL=0
|
|||
|
||||
start()
|
||||
{
|
||||
echo $"Setting network parameters... "
|
||||
echo -n $"Setting network parameters... "
|
||||
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
|
||||
success
|
||||
echo
|
||||
|
||||
echo -n $"Starting NetworkManager daemon: "
|
||||
daemon --check $servicename $processname --pid-file=$pidfile
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# NetworkManager: NetworkManagerDispatcher daemon
|
||||
#
|
||||
# chkconfig: - 98 02
|
||||
# chkconfig: - 28 72
|
||||
# description: This daemon automatically runs scripts when NetworkManager \
|
||||
# changes the network state.
|
||||
#
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: network_manager_dispatcher
|
||||
# Required-Start: $local_fs messagebus
|
||||
# Required-Stop: $local_fs messagebus
|
||||
# Default-Start: 3 4 5
|
||||
# Required-Start: network_manager messagebus
|
||||
# Required-Stop: network_manager messagebus
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start and stop NetworkManagerDispatcher
|
||||
# Description: NetworkManagerDispatcher is a tool for running scripts triggered \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue