#!/bin/sh
# Include all busybox commands.
busybox-links touch

# Include some runlevels.
touch /etc/rc0.d/*
touch /etc/rc1.d/*
touch /etc/rc6.d/*
touch /sbin/reboot
touch /sbin/telinit

touch /etc/pcmcia/*
touch /etc/pcmcia/cis/*

# Include the run_installer script and all files used by it and by 
# debian_install.sh.
touch /usr/local/sbin/run_installer
(
	set +e
	bash -c exit
	mount
	umount
	fdisk
	mkdosfs
	mkswap
	mke2fs
	file /etc/passwd
	tar
	bunzip2 /dev/null
	gunzip /dev/null
	ex < /dev/null
	/etc/init.d/pcmcia start
	/etc/init.d/hwclockfirst.sh start
) >/dev/null 2>&1 || true
