3 PATH=/usr/bin:/usr/sbin:/bin:/sbin
4 INIT=/sbin/init.sysvinit
5 ROOTBACKUP=/media/realroot
8 if ! which unionctl; then
9 echo >&2 "ERROR: Package unionfs-utils not installed!"
14 if ! [ -z "$@" ]; then
19 insmod /lib/modules/`uname -r`/kernel/fs/unionfs.o
20 mount.busybox -t unionfs -o dirs=/.=rw,setattr=all none ${UNION}
24 pivot_root . ./${ROOTBACKUP}