DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 27th October 2009
phill phill is offline
Real Name: Philippe
Port Guard
 
Join Date: Oct 2009
Location: Belgium
Posts: 30
Default openbsd shutdown

Hello, I am new to OpenBSD (worked with linux before).

I installed 4.6 and everything is running great so far. I just have a question about the shutdown. I would have liked the computer to deactivate automatically.
When shutdown (shutdown -h now) is finished I get a message like "press any key to reboot".

Can OpenBSD be configured to also automatically deactivate the machine?
Reply With Quote
  #2   (View Single Post)  
Old 27th October 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Yes. The shutdown(8) and halt(8) man pages should be able to guide you. See the -p option. Note what it says, regarding machines that support power down. Not all do.
Reply With Quote
  #3   (View Single Post)  
Old 27th October 2009
phill phill is offline
Real Name: Philippe
Port Guard
 
Join Date: Oct 2009
Location: Belgium
Posts: 30
Default

Thanks... I should adopt the reflex to check the man pages first...
Reply With Quote
  #4   (View Single Post)  
Old 27th October 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Good idea. The man pages are, indeed, the definitive documentation for the OS. That said, the FAQ and the subsidiary docs on the FAQ web page, combined, are the closest thing the Project has to "howto" documents. In this instance, FAQ 10.3 describes a way to include power down automatically at shutdown time.

(Be extremely careful with 3rd party "howto" guides. They are not only unsupported by the Project, they are often both out-of-date and written by brand new users, who may not understand the implications of their guidance.)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
shutdown message Mr-Biscuit FreeBSD General 1 16th November 2008 11:59 PM
enable shutdown/reboot xfce4 rex FreeBSD General 16 17th October 2008 02:19 PM
strange behaviour after improper shutdown karri FreeBSD General 1 15th October 2008 03:08 PM
Shutdown problems radtek FreeBSD General 11 13th September 2008 12:42 AM
Polkit Shutdown for XFCE in Freebsd 7.0 shep FreeBSD General 1 18th May 2008 12:24 AM


All times are GMT. The time now is 07:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick