rc file sniplet
# Make a big Ramdisk!
/bin/mke2fs -q -m0 /dev/ram3
/bin/mount -t ext2 /dev/ram3 /home/ftp -n
/bin/chmod 777 /home/ftp
# mount proc file system
/bin/mount -t proc proc /proc -n
# mount sysfs
/bin/mount -t sysfs sysfs /sys -n
# manually assign ip address (uncomment and edit as appropriate)# note: first ifattach (no args) sets local loopback
/bin/ifattach
/bin/ifattach --addr 192.168.1.2 --mask 255.255.255.0 --net 192.168.1.0 --gw 192.168.1.11 --if eth0
# start up the internet superserver
/bin/inetd &
# start up the web server
/bin/boa &
*******************************************************************
inetd.conf sniplet
ftp stream tcp nowait root /bin/ftpd
telnet stream tcp nowait root /bin/telnetd
uptime stream tcp nowait root cat /proc/uptime /etc/issue
******************************************************************
services sniplet
# Here is a simple services file.#
ftp-data 20/tcp
ftp 21/tcp
telnet 23/tcp
uptime 24/tcp
http 80/tcp
******************************************************************