blob: 5b34fb937af3c3c9e5d494dd1bf657a4b3aac464 (
plain)
1
2
3
4
5
6
7
|
#!/usr/bin/bash
. /usr/lib/initcpio/init_functions
parse_cmdline </proc/cmdline
u=$(((32768+${RANDOM})*600))
[ -e /usr/bin/unshare ] && exec /usr/bin/env -i "TERM=$TERM" /usr/bin/unshare --time --boottime ${fakeuptimesec:-${u}} /sbin/init "$@"
exec /usr/bin/env -i "TERM=$TERM" /sbin/init "$@"
exec /sbin/init "$@"
|