1fc7e83faSFrançois Tigeot# fixit.conf - put in anything we think we might want on a fixit floppy 2fc7e83faSFrançois Tigeot 3fc7e83faSFrançois Tigeot# first, we list the source dirs that our programs reside in. These are 4fc7e83faSFrançois Tigeot# searched in order listed to find the dir containing each program. 5fc7e83faSFrançois Tigeot 6fc7e83faSFrançois Tigeotsrcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin 7fc7e83faSFrançois Tigeotsrcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi 8fc7e83faSFrançois Tigeotsrcdirs /usr/src/sbin/i386 9fc7e83faSFrançois Tigeot 10fc7e83faSFrançois Tigeot# second, we list all the programs we want to include in our crunched binary. 11fc7e83faSFrançois Tigeot# The order doesn't matter. Any program that needs hard links to it gets an 12fc7e83faSFrançois Tigeot# `ln' directive. 13fc7e83faSFrançois Tigeot 14fc7e83faSFrançois Tigeot# /bin stuff 15fc7e83faSFrançois Tigeot 16fc7e83faSFrançois Tigeotprogs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir 17*2458c6f4SSascha Wildnerprogs mt mv pwd rm rmdir sh sleep stty sync test 18fc7e83faSFrançois Tigeot 19fc7e83faSFrançois Tigeotln test [ 20fc7e83faSFrançois Tigeotln sh -sh # init invokes the shell this way 21fc7e83faSFrançois Tigeot 22fc7e83faSFrançois Tigeot# /sbin stuff 23fc7e83faSFrançois Tigeot 24fc7e83faSFrançois Tigeotprogs badsect chown clri disklabel dump dmesg fdisk fsck ifconfig init 25fc7e83faSFrançois Tigeotprogs mknod mount newfs ping reboot restore swapon umount 26fc7e83faSFrançois Tigeotln dump rdump 27fc7e83faSFrançois Tigeotln restore rrestore 28fc7e83faSFrançois Tigeot 29fc7e83faSFrançois Tigeot# /usr/bin stuff 30fc7e83faSFrançois Tigeot 31*2458c6f4SSascha Wildnerprogs ftp sed telnet common find 32fc7e83faSFrançois Tigeotln common vi 33fc7e83faSFrançois Tigeotln common view 34fc7e83faSFrançois Tigeotln common ex 35fc7e83faSFrançois Tigeot 36fc7e83faSFrançois Tigeot# gnu stuff 37fc7e83faSFrançois Tigeot 38fc7e83faSFrançois Tigeotprogs cpio gzip 39fc7e83faSFrançois Tigeotln gzip gunzip 40fc7e83faSFrançois Tigeotln gzip gzcat 41fc7e83faSFrançois Tigeot 42fc7e83faSFrançois Tigeot# finally, we specify the libraries to link in with our binary 43fc7e83faSFrançois Tigeot 44fc7e83faSFrançois Tigeotlibs -lcrypt -ltelnet -lutil -ll 455cef369fSJohn Marinolibs -lprivate_ncurses -lprivate_ncurses -lprivate_edit -lkvm 46