In one of my linux machines, when i give reboot
command at the shell command prompt then press enter, i get another command prompt and then the system reboots.
$reboot
$
But in one of my office Linux machines, when i give the reboot command, it suddenly reboots without showing another shell command prompt
What could be the reason for this? I need the first behavior to be present in my office machine also. Kindly tell me where i should tweak my office machine.
Thanks
I assume your first describes linux box has a timeperiod set to wait before doing the actual reboot. To get to now more about the shutdown/reboot process in your linux distro, take a look at
man shutdown
. It will explain, where the configuration is placed.In my distribution, SUSE, these are some files which are part of the shutdown process:
/etc/inittab
/etc/init.d/halt
/etc/init.d/reboot