Ubuntu automatic shutdown command and ubuntu shutdown solution I encountered this problem. after N long searches, I finally found a solution. The ubuntu automatic shutdown command sudoshutdown + 100 indicates that the computer was shut down in 100 minutes. It is useless if you manually shut down the instance at this time ,...
Ubuntu automatic shutdown command and ubuntu shutdown solution I encountered this problem. after N long searches, I finally found a solution. The ubuntu automatic shutdown command sudo shutdown + 100 indicates that the computer was shut down in 100 minutes. If manual shutdown is useless at this time, both shutdown and restart will become logged out, you can use sudo shutdown-c to cancel the automatic shutdown command. Other related commands www.2cto.com: -k does not actually shut down, but only sends a warning message to all users.-r immediately restarts after shutdown-h shutdown without restarting-f quick shutdown upon restart, skip fsck-n quick shutdown if you do not run the init Program-h shutdown-qP 100 100 minutes later, the program will be shut down and ubuntu will not shut down. It may be related to the power management to modify the configuration, four steps are required: 1. open the terminal, enter sudo gedit/etc/modules, and press enter in the last line of the file. add apm power_off = 1 in the other line to save and close 2. enter sudo gedit/etc/rc0.d/S90halt in the middle end and find the following code: hddown = "-h" if grep-qs '^ md. * active '/proc/mdstat then hddown = "" fi www.2cto.com and netdown = "-I" if ["$ NETDOWN" = "no"]; then netdown = "" fi comment out the two codes as follows: # hddown = "-h" # if grep-qs '^ md. * active '/proc/mdstat # then # hddown = "" # fi and # netdown = "-I" # if ["$ NETDOWN" = "no"]; then # netdown = "" # save fi and exit 3. in the middle end, enter sudo gedit/etc/default/grub and find www.2cto.com GRUB_CMDLINE_LINUX = "" and change it to GRUB_CMDLINE_LINUX = "noacpi acpi = off acpi = force apm power_off = 1, log out and enter sudo update-grub in the middle end again. restart and shut down. try again. The shen1000 can be shut down normally without any exceptions.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.