Merge from vendor branch NETGRAPH:
[dragonfly.git] / contrib / bsdinstaller-1.1.6 / src / backend / installer / conf / cmdnames.conf
1 # Command names for DragonFly installer backend.
2 # $Id: cmdnames.conf,v 1.15 2005/04/08 02:29:17 cpressey Exp $
3
4 # This is in Bourne shell syntax so that it is easily editable;
5 # it is also sourced by the installer, a C program.
6
7 # Note that file names here should all be relative to the
8 # installation media.  They should NOT include leading slashes.
9 # They may contain extra command-line options.
10
11 SH=bin/sh
12 MKDIR=bin/mkdir
13 CHMOD=bin/chmod
14 LN=bin/ln
15 RM=bin/rm
16 CP=bin/cp
17 DATE=bin/date
18 ECHO=bin/echo
19 DD=bin/dd
20 MV=bin/mv
21 CAT=bin/cat
22 TEST=bin/test
23
24 # XXX 'sysctl' and '[' in the following tests should ideally include
25 # the full path to the executable.
26
27 # Some operating systems (OpenBSD) have block devices for disks, slices, etc.
28 # Others don't.
29
30 if [ X`sysctl -n kern.ostype` = "XOpenBSD" ]; then
31         TEST_DEV="$TEST -b"
32 else
33         TEST_DEV="$TEST -c"
34 fi
35
36 # Some operating systems (DragonFly) have a version of cpdup that supports -u.
37 # Others don't, and we assume it is installed as a 'port' on those systems.
38
39 if [ X`sysctl -n kern.ostype` = "XDragonFly" ]; then
40         CPDUP="bin/cpdup -o -vvv -u"
41         DHCPD=usr/sbin/dhcpd
42         RPCBIND=usr/sbin/portmap
43         MOUNTD=sbin/mountd
44         NFSD=sbin/nfsd
45 else
46         CPDUP="usr/local/bin/cpdup -o -vvv"
47         DHCPD=usr/local/sbin/dhcpd
48         RPCBIND=usr/sbin/rpcbind
49         MOUNTD=usr/sbin/mountd
50         NFSD=usr/sbin/nfsd
51 fi
52
53 MOUNT=sbin/mount
54 MOUNT_MFS=sbin/mount_mfs
55 UMOUNT=sbin/umount
56 SWAPON=sbin/swapon
57 DISKLABEL=sbin/disklabel
58 NEWFS=sbin/newfs
59 NEWFS_MSDOS=sbin/newfs_msdos
60 FDISK=sbin/fdisk
61 DUMPON=sbin/dumpon
62 IFCONFIG=sbin/ifconfig
63 ROUTE=sbin/route
64 DHCLIENT=sbin/dhclient
65 SYSCTL=sbin/sysctl
66
67 TOUCH=usr/bin/touch
68 YES=usr/bin/yes
69 BUNZIP2=usr/bin/bunzip2
70 GREP=usr/bin/grep
71 KILLALL=usr/bin/killall
72 BASENAME=usr/bin/basename
73 SORT=usr/bin/sort
74 COMM=usr/bin/comm
75 AWK=usr/bin/awk
76 SED=usr/bin/sed
77 BC=usr/bin/bc
78 TR=usr/bin/tr
79
80 PWD_MKDB=usr/sbin/pwd_mkdb
81 CHROOT=usr/sbin/chroot
82 VIDCONTROL=usr/sbin/vidcontrol
83 KBDCONTROL=usr/sbin/kbdcontrol
84 PW=usr/sbin/pw
85 SWAPINFO=usr/sbin/swapinfo
86 BOOT0CFG=usr/sbin/boot0cfg
87 FDFORMAT=usr/sbin/fdformat
88 PKG_ADD=usr/sbin/pkg_add
89 PKG_DELETE=usr/sbin/pkg_delete
90 PKG_CREATE=usr/sbin/pkg_create
91 PKG_INFO=usr/sbin/pkg_info
92 INETD=usr/sbin/inetd
93
94 TFTPD=usr/libexec/tftpd
95
96 CVSUP=usr/local/bin/cvsup
97 MEMTEST=usr/local/bin/memtest
98
99 # These aren't commands, but they're configurable here nonetheless.
100
101 DMESG_BOOT=var/run/dmesg.boot
102 INSTALLER_TEMP="/tmp/"