Hello,
I am testing this for archiso (I think will help me for dm-snapshot persistent). I am writing custom shutdown hooks that fit for archiso. Anyway, /run is mounted as noexec. This should be changed ;)
:: Creating shutdown ramfs...chroot: can't execute '/bin/busybox': Permission denied
all rest of things will fail ;)
http://mailman.archlinux.org/pipermail/arch-projects/2011-July/001549.html
# reboot / poweroff / halt, depending on the argument passed by init# if something invalid is passed, we haltcase "$1" inreboot|poweroff|halt) "$1" -f ;;*) halt -f;;esac
-- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1