View Single Post
  #7  
Old 8th March 2006, 20:50
kaptk2 kaptk2 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No good. I am still getting this error message:
service mydns does not support chkconfig

Here is how my file looks now. It is snipped but the rest is what is on the website. Any more hints?

Code:
#! /bin/sh
#
#
# chkconfig: - 21 22
#
# mydns         Start the MyDNS server
#
# Author:       Falko Timme <ft@falkotimme.com>.
#

set -e

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
NAME=mydns
DAEMON=/usr/local/sbin/$NAME
DESC="DNS server"
Reply With Quote