10 lines
163 B
Bash
10 lines
163 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# bt-reboot - emergency full system reboot.
|
|
# Invoked through sudo by the web configurator.
|
|
set -euo pipefail
|
|
|
|
sync
|
|
sleep 2
|
|
systemctl reboot
|