7 lines
204 B
Bash
Executable File
7 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
case ${1:-default} in
|
|
default|boot|2|3|4|5) exec s6-rc -l /run/s6-rc -t 15000 -u change boot ;;
|
|
*) printf 'Unsupported FDS runlevel: %s\n' "$1" >&2; exit 100 ;;
|
|
esac
|