contents of /etc/default/halt – MitchAug 11 '12 at 6:58
@mitch Thank you for the comment. The content in /etc/default/halt is HALT=poweroff ... anything I can do about it? – xczzhhAug 11 '12 at 7:23
Try adding the line INIT_HALT = POWEROFF, and let me know. – MitchAug 11 '12 at 7:35
@Mitch Thank you again for the reply. I have added the line you suggested, but have problem saving the file. It just says that "/etc/default/halt" E212: Can't open file for writing. I have logged in as the root, why am I still getting this? any reply will be greatly appreciated. – xczzhhAug 12 '12 at 7:03
Do gksu gedit /etc/default/halt that will allow you to edit and save the file. – MitchAug 12 '12 at 7:05
/etc/default/halt– Mitch Aug 11 '12 at 6:58/etc/default/haltis HALT=poweroff ... anything I can do about it? – xczzhh Aug 11 '12 at 7:23INIT_HALT = POWEROFF, and let me know. – Mitch Aug 11 '12 at 7:35gksu gedit /etc/default/haltthat will allow you to edit and save the file. – Mitch Aug 12 '12 at 7:05