8 lines
140 B
Bash
Executable File
8 lines
140 B
Bash
Executable File
#!/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 ''
|