xref: /netbsd-src/usr.bin/crunch/examples/fixit.conf (revision ae9172d6cd9432a6a1a56760d86b32c57a66c39c)
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
8
9# second, we list all the programs we want to include in our crunched binary.
10# The order doesn't matter.  Any program that needs hard links to it gets an
11# `ln' directive.
12
13# /bin stuff
14
15progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
16progs mt mv pwd rcp rm rmdir sh sleep stty sync test
17
18ln test [
19ln sh -sh		# init invokes the shell this way
20ln sh -
21
22# /sbin stuff
23
24progs badsect chown clri disklabel dump dmesg fdisk fsck halt 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 rsh sed telnet rlogin vi
32
33# gnu stuff
34
35progs cpio gzip
36ln gzip gunzip
37ln gzip gzcat
38
39# finally, we specify the libraries to link in with our binary
40
41libs -ledit		# NetBSDism
42libs -lcrypt		# but don't include this when exporting	:-(
43libs -lcurses -ltermcap
44libs -lkvm -ltelnet -lutil -ll
45