void-packages/srcpkgs/initramfs-tools/files/hooks/busybox

23 lines
262 B
Plaintext
Raw Normal View History

#!/bin/sh
BUSYBOXDIR="/usr/lib/busybox-initramfs/bin"
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
copy_exec ${BUSYBOXDIR}/busybox /bin/busybox
exit 0