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