IMQ Device in den Kernel kompiliert.

QoS Fit fuer die neue Version gemacht.
NTPd Startscript angepasst. (Das andere dauerte einfach zu lange zum starten!)


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@405 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-02-04 18:03:00 +00:00
parent 7e7495b3db
commit 6f30095176
9 changed files with 44 additions and 68 deletions

View File

@@ -1,17 +1,13 @@
#!/bin/sh
# Begin $rc_base/init.d/ntp
#$LastChangedBy: bdubbs $
#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
. /etc/sysconfig/rc
. $rc_functions
case "$1" in
start)
boot_mesg "Starting ntpd..."
ntpd -gqx
loadproc /usr/bin/ntpd
loadproc /usr/bin/ntpd -Ap /var/run/ntpd.pid
;;
stop)

View File

@@ -1,10 +1,6 @@
/* Ipcop helper program - restartntpd
/* IPFire helper program - restartntpd
*
* Starts or stops the ntpd daemon
*
* (c) Darren Critchley 2003
*
* $Id: restartntpd.c,v 1.5 2003/12/19 14:29:09 riddles Exp $
*
*/
@@ -25,7 +21,7 @@ int main(void)
if (!(initsetuid()))
exit(1);
safe_system("/etc/rc.d/init.d/ntp stop 2> /dev/null");
safe_system("/etc/rc.d/init.d/ntp stop 2>&1 >/dev/null");
sleep(3);
if ((fd = open(CONFIG_ROOT "/time/allowclients", O_RDONLY)) != -1)
@@ -36,7 +32,7 @@ int main(void)
if (enable)
{
safe_system("/etc/rc.d/init.d/ntp start");
safe_system("/etc/rc.d/init.d/ntp start 2>&1 >/dev/null");
}
return 0;
}