Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/usr.sbin/crunch/examples/fixit.conf
103352 views
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
6
srcdirs /usr/src/bin /usr/src/sbin /usr/src/usr.bin /usr/src/usr.sbin
7
srcdirs /usr/src/gnu/usr.bin /usr/src/usr.bin/vi
8
srcdirs /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
16
progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
17
progs mt mv pwd rcp rm rmdir sh sleep stty sync test
18
19
ln test [
20
ln sh -sh # init invokes the shell this way
21
22
# /sbin stuff
23
24
progs chown clri disklabel dump dmesg fsck ifconfig init
25
progs mknod mount newfs ping reboot restore swapon umount
26
ln dump rdump
27
ln restore rrestore
28
29
# /usr/bin stuff
30
31
progs ftp sed telnet common find
32
ln common vi
33
ln common view
34
ln common ex
35
36
# gnu stuff
37
38
progs cpio gzip
39
ln gzip gunzip
40
ln gzip gzcat
41
42
# finally, we specify the libraries to link in with our binary
43
44
libs -lcrypt -ltelnet -lutil -ll
45
libs -lcurses -ltermcap -ledit -lkvm
46
47