4 lines
122 B
Bash
Executable file
4 lines
122 B
Bash
Executable file
#!/bin/sh -e
|
|
# Put system to sleep after specified number of seconds
|
|
$(which timer || sleep) "${@:-10}"
|
|
systemctl suspend
|