6 lines
148 B
Bash
Executable file
6 lines
148 B
Bash
Executable file
#!/bin/bash
|
|
|
|
sudo /usr/bin/rtcwake -n -m mem -t $(date "+%s" -d "$1")
|
|
read || exit 1
|
|
sleep 15
|
|
sudo /usr/bin/rtcwake -m mem -t $(date "+%s" -d "$1")
|