Can now break out of archiso hook into dash
Usually initcpio's init takes care of this, but it never executes that far, so this is copypasta. Signed-off-by: Simo Leone <simo@archlinux.org>
This commit is contained in:
parent
8ada60b175
commit
5c7046f2fc
@ -38,6 +38,12 @@ run_hook ()
|
|||||||
echo 1 > /proc/sys/dev/cdrom/autoeject
|
echo 1 > /proc/sys/dev/cdrom/autoeject
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${break}" = "y" ]; then
|
||||||
|
echo ":: Break requested, type 'exit' to resume operation"
|
||||||
|
echo " NOTE: klibc contains no 'ls' binary, use 'echo *' instead"
|
||||||
|
PS1="ramfs$ " /bin/sh -i
|
||||||
|
fi
|
||||||
|
|
||||||
udevpid=$(/bin/minips -C udevd -o pid=)
|
udevpid=$(/bin/minips -C udevd -o pid=)
|
||||||
[ "x${udevpid}" != "x" ] && /bin/kill -9 $udevpid 2>&1 >/dev/null
|
[ "x${udevpid}" != "x" ] && /bin/kill -9 $udevpid 2>&1 >/dev/null
|
||||||
#Yep, we're bailing out here. We don't need kinit.
|
#Yep, we're bailing out here. We don't need kinit.
|
||||||
|
Loading…
Reference in New Issue
Block a user