Dear All,

I have created a shell script called test.sh inside the /etc/init.d, as shown below.

******************************test.sh************* ***************

#!/bin/sh
# it is common to write start stop scripts in the bourne shell
# for scripts which are started after all file systems are mounted it doesn't
# really matter. For scripts which are started before, you could end up with
# a problem if that shell is located on a filesystem different than "/"

case $1 in
start) upd 1025/tcp
;;
stop) upd 1025/tcp
esac

************************************************** *********


Now I have linked this test.sh file to the rc.d folder, as shown in the following.

ln -s /etc/init.d/test.sh /etc/rc.d/S99test.sh

Now my problem is that this service upd is not coming inside the /etc/services....

Can anybody tell me that how can i get this upd service inside the /etc/services????


Thanks in advance.