8 printf "${mesg}\n" "$@"
12 local mesg
="$1"; shift
13 printf "error: ${mesg}\n" "$@" >&2
22 # lxc sends 48 for some reason with --kill instead of stopsignal
23 trap do_exit SIGINT SIGTERM SIGHUP SIGPWR
48
25 msg
"starting bash init... $*"
27 [[ -d "/proc/$$" ]] || mount
-t proc proc
/proc \
28 || die
'unable to mount /proc'
30 hostname localhost || die
'unable to set hostname'