|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
shutdown message
dear all
am seeking the file that generates the final message on CRT after shutdown -h now. The current final message is instructing for pushing the "enter" key but instead i would like to change this to "please power off/on the PC front button". FreeBSD revision is 5.4 Thanks, |
|
|||
Thanks Martin but unfortunately this directory does not match what I have, the /sys directory does even not exist.I have been trying to find the kern_shutdown.c file but no luck.
Any other smart idea? |
|
||||
You have to install the source code to get the source code in /sys...otherwise it blank.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick |
|
||||
/sys/ is a symlink to /usr/src/sys/, I've had some occasions where it took off and went on a holiday, so make sure to check /usr/src/
It /usr/src doesn't exist or is empty, then you will need to fetch the source as roddierod mentioned. The easiest way to do that is CVSup, see the corresponding chapter in the FreeBSD handbook for more info: http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
openbsd shutdown | phill | OpenBSD General | 3 | 27th October 2009 12:27 PM |
shutdown message | Mr-Biscuit | FreeBSD General | 1 | 16th November 2008 11:59 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 |