--- openntpd.old 2009-11-13 23:15:15.000000000 +0100 +++ openntpd 2009-11-13 23:17:37.000000000 +0100 @@ -1,6 +1,7 @@ #!/bin/bash CONF=/etc/conf.d/openntpd +RUNDIR=/var/run/openntpd . /etc/rc.conf . /etc/rc.d/functions @@ -11,6 +12,7 @@ case "$1" in start) stat_busy "Starting OpenNTPD" + [ -d $RUNDIR ] || mkdir $RUNDIR [ -z "$PID" ] && /usr/sbin/ntpd $PARAMS if [ $? -gt 0 ]; then stat_fail