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
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=====
Sid Boyce wrote:
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.
Hi Sid. I will remove it, and see if I can start fbb with the script. What do you mean by "hack" ?. Up and with 9.1 the script always has worked ok. The script is here: # locate rc.fbb /opt/fbbsrc.704j/rc.fbb /usr/sbin/rc.fbb -- Vy 73 OZ4KK Erik
Erik Jakobsen wrote:
Sid Boyce wrote:
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.
Hi Sid.
I will remove it, and see if I can start fbb with the script. What do you mean by "hack" ?. Pardon the late reply, I'm still in the middle of rearranging the computers in the shack.
Some hamradio apps are not frequently updated or some like grig seems to have died and doesn't build with gnome since about 2.4 or even earlier, so you have to try fixing the build failures and no doubt fail. Some time ago I had to fix svxlink as it wouldn't build on SuSE, I submitted a fix and now it builds and runs on all distros.
Up and with 9.1 the script always has worked ok. The script is here:
# locate rc.fbb /opt/fbbsrc.704j/rc.fbb /usr/sbin/rc.fbb
I believe rc.config is still in RedHat as I see it around, so I usually have to make a guess how to accommodate that stuff on SuSE. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
Sid Boyce wrote:
Erik Jakobsen wrote:
Sid Boyce wrote:
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.
Hi Sid.
I will remove it, and see if I can start fbb with the script. What do you mean by "hack" ?.
Pardon the late reply, I'm still in the middle of rearranging the computers in the shack.
Some hamradio apps are not frequently updated or some like grig seems to have died and doesn't build with gnome since about 2.4 or even earlier, so you have to try fixing the build failures and no doubt fail. Some time ago I had to fix svxlink as it wouldn't build on SuSE, I submitted a fix and now it builds and runs on all distros.
No problem Sid. I removed the line with rc.config, and have ran Xfbb the whole day with SuSE 9.2 :-)
Up and with 9.1 the script always has worked ok. The script is here:
# locate rc.fbb /opt/fbbsrc.704j/rc.fbb /usr/sbin/rc.fbb
I believe rc.config is still in RedHat as I see it around, so I usually have to make a guess how to accommodate that stuff on SuSE. Regards Sid.
What is rc.config doing in the fbb script ?. Regards Erik OZ4KK.
Erik Jakobsen wrote:
Sid Boyce wrote:
Erik Jakobsen wrote:
Sid Boyce wrote:
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.
Hi Sid.
I will remove it, and see if I can start fbb with the script. What do you mean by "hack" ?.
Pardon the late reply, I'm still in the middle of rearranging the computers in the shack.
Some hamradio apps are not frequently updated or some like grig seems to have died and doesn't build with gnome since about 2.4 or even earlier, so you have to try fixing the build failures and no doubt fail. Some time ago I had to fix svxlink as it wouldn't build on SuSE, I submitted a fix and now it builds and runs on all distros.
No problem Sid. I removed the line with rc.config, and have ran Xfbb the whole day with SuSE 9.2 :-)
Up and with 9.1 the script always has worked ok. The script is here:
# locate rc.fbb /opt/fbbsrc.704j/rc.fbb /usr/sbin/rc.fbb
I believe rc.config is still in RedHat as I see it around, so I usually have to make a guess how to accommodate that stuff on SuSE. Regards Sid.
What is rc.config doing in the fbb script ?.
Regards Erik OZ4KK.
It may have been needed at some time in the past. What gear are you running fbb on. I have an old cellphone TNC modded for 1200 baud and 2m rig, so I haven't used packet in about 2 years. We used to have a UK TCP/IP network based on a modified WAMPES, it was great, after a day at work, news and mail was sitting there ready, but the developer lost interest because almost all of the code he supplied never got into the kernel. I was looking at the Slovenian HSP for 23cms, but didn't have the time to build it, so now I go straight HF most of the time, occasionally qtel VOIP from the svxlink project, it's does the same as echolinux, but I think it's better, they both make DX working painless, though on HF I shout Stateside occasionally on 10/13/20/15 and VK's on 20 some mornings. I got my license in 1965 and bought my first commercial rig in 1992 Stateside,I couldn't resist the price, before that I designed and built everything but a multimeter, including synthesized HF gear, these days Linux has taken over. Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer =====LINUX ONLY USED HERE=====
The Monday 2004-12-06 at 17:35 +0100, Erik Jakobsen wrote:
In my SuSE 9.1, I have a file /etc/rc.config.
I don't; well, I do have it, but empty . If you have it, it is ignored.
This is not the case in SuSE 9.2.
rc.config was superseded long ago, in version 9.0 I think. It went to several files in /etc/sysconfig/. You can create that file if you need it, SuSE (ie, Yast) will not use it for anything.
How is the rc.config job being done here ?.
I have a file, that needs the /etc/rc.config:
Then modify your file: it is obsolete. -- Cheers, Carlos Robinson
Carlos E. R. wrote:
The Monday 2004-12-06 at 17:35 +0100, Erik Jakobsen wrote:
In my SuSE 9.1, I have a file /etc/rc.config.
I don't; well, I do have it, but empty . If you have it, it is ignored.
OK.
This is not the case in SuSE 9.2.
rc.config was superseded long ago, in version 9.0 I think. It went to several files in /etc/sysconfig/. You can create that file if you need it, SuSE (ie, Yast) will not use it for anything.
It was with the 9.1.
How is the rc.config job being done here ?.
I have a file, that needs the /etc/rc.config:
Then modify your file: it is obsolete.
Ok and thanks Carlos -- Mvh Erik
I commented the line in the script, and it works ok now again. Thanks Sid, thanks Carlos Erik
The Tuesday 2004-12-07 at 05:51 +0100, Erik Jakobsen wrote:
I commented the line in the script, and it works ok now again.
Substitute it with: . /etc/rc.status because variables like "$rc_failed" are taken from there. There might be some other variables, but I think not. -- Cheers, Carlos Robinson
On Tue, Dec 07, Erik Jakobsen wrote:
Carlos E. R. wrote:
The Monday 2004-12-06 at 17:35 +0100, Erik Jakobsen wrote:
rc.config was superseded long ago, in version 9.0 I think. It went to several files in /etc/sysconfig/. You can create that file if you need it, SuSE (ie, Yast) will not use it for anything.
It was with the 9.1.
It was dropped before SuSE Linux 8.0. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE Linux Products GmbH Maxfeldstr. 5 D-90409 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
The Tuesday 2004-12-07 at 05:22 +0100, Erik Jakobsen wrote:
This is not the case in SuSE 9.2.
rc.config was superseded long ago, in version 9.0 I think. It went to several files in /etc/sysconfig/. You can create that file if you need it, SuSE (ie, Yast) will not use it for anything.
It was with the 9.1.
No, I have 9.1, and the file is empty, it is not used anymore. Even if you write something there, yast doesn't use it for anything. It is used only by trhird party old scripts that have not been adapted yet: and in that case, yast will set the variables somewhere in /etc/sysconfig/*, and the script will look for them where they are no longer.
How is the rc.config job being done here ?.
I have a file, that needs the /etc/rc.config:
Then modify your file: it is obsolete.
Ok and thanks Carlos
Wellcome :-) -- Cheers, Carlos Robinson
participants (4)
-
Carlos E. R.
-
Erik Jakobsen
-
Sid Boyce
-
Thorsten Kukuk