Browse Source

feat: add hibernation support

canon
ix 6 years ago
parent
commit
bf38c03f48
  1. 7
      urc
  2. 2
      urc.8

7
urc

@ -312,8 +312,13 @@ case "$1" in
echo mem > /sys/power/state
;;
--hibernate)
check_root
echo disk > /sys/power/state
;;
*)
echo Invalid option, use -h for help.
echo Invalid option, see -h or call man urc for help.
exit 1
;;
esac

2
urc.8

@ -20,6 +20,8 @@ restart the system
suspend the system
.IP "-s"
same as --suspend
.IP "--hibernate"
hibernates the system
.IP "--list"
lists which daemons are running and which are not
.IP "-l"

Loading…
Cancel
Save