Erik Jakobsen wrote:
Hi.
In my SuSE 9.1, I have a file /etc/rc.config.
This is not the case in SuSE 9.2.
How is the rc.config job being done here ?.
I have a file, that needs the /etc/rc.config:
#! /bin/sh # # /sbin/init.d/fbb #
. /etc/rc.config
base=${0##*/} link=${base#*[SK][0-9][0-9]}
test $link = $base && START_FBB=yes test "$START_FBB" = yes || exit 0
test -x /usr/sbin/fbb || exit 0
return=$rc_done case "$1" in start) echo -n "Starting FBB daemon" if [ -f /etc/ax25/fbb.conf ] ; then startproc /usr/sbin/fbb -s -l /tmp/fbb.log || return=$rc_failed else return=$rc_failed fi echo -e "$return" ;; stop) echo -n "Shutting down FBB daemon" killproc -TERM /usr/sbin/fbb || return=$rc_failed sleep 4 echo -e "$return" ;; restart|reload) $0 stop && $0 start || return=$rc_failed ;; status) echo -n "Checking for FBB daemon : " checkproc /usr/sbin/fbb && echo "FBB is up" || echo "No FBB daemon" ;; *) echo "Usage: $0 {start|stop|status|restart}" exit 1 esac
test "$return" = "$rc_done" || exit 1 exit 0
What can I do ?.
Erik Jakobsen
It's no longer included, so you could remove it from the script and see if fbb starts up. Presumably this script is in /etc/init.d. Some of this stuff was designed with RedHat in mind, so you have to hack things to get them to fit SuSE. Then again, some of the hamradio stuff usually lags behind which means you have to hack them around. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====