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
This commit is contained in:
Dan Williams
2006-05-21 20:09:21 +00:00
parent c79d2023f9
commit 5cb20bf190
2 changed files with 14 additions and 0 deletions

View File

@@ -36,6 +36,15 @@ start()
{
echo $"Setting network parameters... "
sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
if [ ! -e /var/lock/subsys/dhcdbd ]; then
service dhcdbd start
fi
if [ ! -e /var/lock/subsys/named ]; then
service named start
fi
echo -n $"Starting NetworkManager daemon: "
daemon --check $servicename $processname --pid-file=$pidfile
RETVAL=$?