From owner-freebsd-questions Mon May 15 20:15:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mrs-4.smartworld.net (mrs-4.smartworld.net [216.70.64.33]) by hub.freebsd.org (Postfix) with ESMTP id 8510737BA0D for ; Mon, 15 May 2000 20:15:09 -0700 (PDT) (envelope-from dnormandin@freewwweb.com) Received: from dnormandinfreewwweb (cust99.tnt1.dial.cal1.uunet.ca [209.167.219.99]) by mrs-4.smartworld.net (8.9.1a/8.9.1) with SMTP id XAA74511; Mon, 15 May 2000 23:15:06 -0400 (EDT) Message-ID: <00bb01bfbee5$3e471fa0$63dba7d1@dnormandinfreewwweb.com> From: "Duke Normandin" To: "Danny" Cc: Subject: Re: shutdown now Date: Mon, 15 May 2000 18:26:18 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3612.1700 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, May 15, 2000 4:46 PM Danny wrote: >- Instead of "shutdown NOW" try >- "shutdown -h NOW" > >Looking forward to your feedback. > >dannyh >dannyh@idx.com.au > > >On Sun, 14 May 2000, Duke Normandin wrote: >> Whenever I use ` shutdown now ` to drop into single-user mode, >> I get the following error message: >> >> Enter full pathname of shell or RETURN for /bin/sh: -> I hit Enter >> >> syntax error: Bad substitution >> >> I hit ^D and all files are re-read w/o the system checks (which is >> what I want). How do I get rid of this "syntax" error? >> >> -duke I've used that in the past to reboot the system c/w probing etc. I use `shutdown now` to have the "system files" re-read" after I've changed something. It works OK -- I'm simply being picky in wanting to fix the syntax error. Do you know which script/program is running that is flashing me this error message when I hit return to accept /bin/sh ? Chris suggested that I look in .profile, but I can't see anything wrong in touch -- which doesn't mean a whole hell of a lot, because I couldn't find my arse with both hands when it comes to Unix/FBSD. ;^) Thanks for your input! -duke To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message