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