/bzr d o0:0 m755
/rc.start
C #!/bin/zsh -l
exec >/dev/console 2>&1
set -x
bzr=$0:A:h/bzr
PATH=$bzr/fileset/bin:$PATH
fsapply / <$bzr/sysresccd-supplement/init.fslist || exit $?
$bzr/scriptsetup/sbin/scriptsetup || exit $?
mv -v /root/.zshrc /root/_zshrc || exit $?
if [[ -e /dev/md0 ]] && mdadm --detail /dev/md0 | grep -q '^ *State : inactive'; then
mdadm --stop /dev/md0
fi
if grep -q 'QEMU Virtual CPU' /proc/cpuinfo; then
mkdir -p /mnt/host &&
mount -t 9p -o trans=virtio hostfs /mnt/host/ -oversion=9p2000.L,posixacl,cache=loose
fi
o0:0 m755