init testbed/schedule-poweroff.sh
This commit is contained in:
parent
195cdd5cb8
commit
7f3d5be51c
7
testbed/scripts/schedule-poweroff.sh
Executable file
7
testbed/scripts/schedule-poweroff.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
/bin/date
|
||||||
|
/sbin/shutdown -h 60
|
||||||
|
wall "The system shutdown is scheduled in 1 hour. Use 'shutdown -c' to cancel."
|
||||||
|
echo ''
|
Loading…
Reference in New Issue
Block a user