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