4fa524144b
Use "$@" instead of $* to preserve arguments containing spaces. The shell expands "$@" as "$1" "$2" "$3"... while it expands $@ as $1 $2 $3. With the second form, we loses spaces in positional parameters. Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com> Reviewed-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 lines
178 B
Bash
Executable File
8 lines
178 B
Bash
Executable File
#!/bin/sh
|
|
# devtmpfs does not get automounted for initramfs
|
|
/bin/mount -t devtmpfs devtmpfs /dev
|
|
exec 0</dev/console
|
|
exec 1>/dev/console
|
|
exec 2>/dev/console
|
|
exec /sbin/init "$@"
|