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