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