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