9 lines
115 B
Bash
Executable File
9 lines
115 B
Bash
Executable File
#!/bin/rc
|
|
|
|
op=`{cat /run/slew/hpr}
|
|
~ $#op 1 || op=reboot
|
|
|
|
echo '* halt: triggering' $op^'...'
|
|
exec busybox $op -f
|
|
|