poage@ucbvax.berkeley.edu (Tom Poage) (12/14/88)
ESC1298@ESOC.BITNET (Danielle Heinzer) writes: >Here is the rc.boot file: > if [ $1x = single userx ] I think it should be if [ $1x = singleuserx ] Tom. -- Tom Poage, UCDMC Clinical Engineering, Sacto., CA ucdavis.ucdavis.edu!sunny!{poage,root,postmaster,news} ucbvax!ucdavis!sunny!{poage,root,postmaster,news}
ESC1298@ESOC.BITNET (Danielle Heinzer) (12/17/88)
[[ I think this message got BITNET munged. It's the only way to explain the dollar signs. Sorry, folks. --wnl ]] Thanks for your help. Sorry, it was | $1x = singleuserx ^ in /etc/rc.boot. I wrote it with a space between single and userx, but it was just a transfer error. The problem was in /etc/rc. After echoing all commands in /etc/rc, I noticed that it broke after "elif | $ix = autobootx ^". I have replaced this line by "elif | "$1" = "autoboot" ^", and it works now. I am not a specialist of the Bourne shell, I always do C-shell scripts. I think the shell does not know any "i" parameter ! Regards, Danielle Heinzer ESA Computer Department/Computer Services European Space Operations Centre Robert-Bosch-str. 5 6100 Darmstadt West-Germany Tel int : 49-6151-886540