Adding the done to a rc3.d startup and shutdown
I have a script that I have run at startup and shutdown of init level 3. It displays items as it executes which list nicely at booting. However, it doesn't display the green done that is right justified and I would like to have it do that. Is this possible? I can't figure out how to do this.
Yes this is possible. It's the easiest if you look at onther script in /sbin/int.d. (I took this from the gpm script:) # first declare (before the start of the case function) return=$rc_done # then when running things that can fail put || return=$rc_failed behind # them for example startproc /usr/sbin/gpm $GPM_PARAM || return=$rc_failed # at the end of the script (or at least of the start or stop section) # return return (this sounds stupid (c: ) echo -e "$return" # (rc_done and rc_failed are both defined in /etc/rc.config) hth,
From Patrick Nelson to SuSE List (E-mail) about [SLE] Adding the done to a...:
I have a script that I have run at startup and shutdown of init level 3. It displays items as it executes which list nicely at booting. However, it doesn't display the green done that is right justified and I would like to have it do that. Is this possible? I can't figure out how to do this.
-- dieter
Patrick Nelson wrote:
I have a script that I have run at startup and shutdown of init level 3. It displays items as it executes which list nicely at booting. However, it doesn't display the green done that is right justified and I would like to have it do that. Is this possible? I can't figure out how to do this.
Have a look at the /etc/init.d/skeleton script. The critical point, if I remember correctly, is a direct execution of rc.config and of rc.status. Paul
Hey, Any of you guys out there running SuSE 7.1 and gnucash 1.4.9? I tried installing the source rpm and compiling it myself but no go....so I tried the compiled version for SuSE 6.1...I was just hoping it would work...and I got close....except for libguile.so.6....I have libguile.so.9...and it don't like that...and I can't seem to get ahold of libguile.so.6... any ideas? Brian D.
participants (4)
-
Brian Dunaway
-
dieter
-
Patrick Nelson
-
Paul Abrahams