Add HAMMER support to the installer
[dragonfly.git] / contrib / bsdinstaller-1.1.6 / src / backend / installer / conf / cmdnames.conf
CommitLineData
337ad0df
DH
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
11SH=bin/sh
12MKDIR=bin/mkdir
13CHMOD=bin/chmod
14LN=bin/ln
15RM=bin/rm
16CP=bin/cp
17DATE=bin/date
18ECHO=bin/echo
19DD=bin/dd
20MV=bin/mv
21CAT=bin/cat
22TEST=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
30if [ X`sysctl -n kern.ostype` = "XOpenBSD" ]; then
31 TEST_DEV="$TEST -b"
32else
33 TEST_DEV="$TEST -c"
34fi
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
39if [ 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
45else
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
51fi
52
53MOUNT=sbin/mount
971d1cca
MS
54MOUNT_HAMMER=sbin/mount_hammer
55MOUNT_NULL=sbin/mount_null
337ad0df
DH
56MOUNT_MFS=sbin/mount_mfs
57UMOUNT=sbin/umount
58SWAPON=sbin/swapon
59DISKLABEL=sbin/disklabel
971d1cca
MS
60DISKLABEL64=sbin/disklabel64
61HAMMER=sbin/hammer
337ad0df 62NEWFS=sbin/newfs
971d1cca 63NEWFS_HAMMER=sbin/newfs_hammer
337ad0df
DH
64NEWFS_MSDOS=sbin/newfs_msdos
65FDISK=sbin/fdisk
66DUMPON=sbin/dumpon
67IFCONFIG=sbin/ifconfig
68ROUTE=sbin/route
69DHCLIENT=sbin/dhclient
70SYSCTL=sbin/sysctl
71
72TOUCH=usr/bin/touch
73YES=usr/bin/yes
74BUNZIP2=usr/bin/bunzip2
75GREP=usr/bin/grep
76KILLALL=usr/bin/killall
77BASENAME=usr/bin/basename
78SORT=usr/bin/sort
79COMM=usr/bin/comm
80AWK=usr/bin/awk
81SED=usr/bin/sed
82BC=usr/bin/bc
83TR=usr/bin/tr
84
85PWD_MKDB=usr/sbin/pwd_mkdb
86CHROOT=usr/sbin/chroot
87VIDCONTROL=usr/sbin/vidcontrol
88KBDCONTROL=usr/sbin/kbdcontrol
89PW=usr/sbin/pw
90SWAPINFO=usr/sbin/swapinfo
91BOOT0CFG=usr/sbin/boot0cfg
92FDFORMAT=usr/sbin/fdformat
93PKG_ADD=usr/sbin/pkg_add
94PKG_DELETE=usr/sbin/pkg_delete
95PKG_CREATE=usr/sbin/pkg_create
96PKG_INFO=usr/sbin/pkg_info
97INETD=usr/sbin/inetd
98
99TFTPD=usr/libexec/tftpd
100
101CVSUP=usr/local/bin/cvsup
102MEMTEST=usr/local/bin/memtest
103
104# These aren't commands, but they're configurable here nonetheless.
105
106DMESG_BOOT=var/run/dmesg.boot
107INSTALLER_TEMP="/tmp/"