DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
to set a custom message explaining the reason for the reboot using systemctl
$ sudo systemctl --message="Hardware upgrade" reboot
PREVIOUS
NEXT
Tagged:
#set
#custom
#message
#explaining
#reason
#reboot
#systemctl
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit