nrelease - gui - Change window manager, cpdup additional directories
[dragonfly.git] / usr.sbin / amd / include / newvers.sh
blobf6e6a8e298d22465974a1a2f17ce06f056decde0
1 # $NetBSD: mkconf,v 1.1.1.1 1997/07/24 21:20:12 christos Exp $
2 # $FreeBSD: src/usr.sbin/amd/include/newvers.sh,v 1.3 1999/08/28 01:15:16 peter Exp $
3 # $DragonFly: src/usr.sbin/amd/include/newvers.sh,v 1.2 2003/06/17 04:29:52 dillon Exp $
4 # mkconf
5 # Generate local configuration parameters for amd
7 cat << __EOF
9 /* Define name of host machine's cpu (eg. sparc) */
10 /* #define HOST_CPU "`uname -p`" */
11 #define HOST_CPU "`uname -m`"
13 /* Define name of host machine's architecture (eg. sun4) */
14 #define HOST_ARCH "`uname -m`"
16 /* Define name and version of host machine (eg. solaris2.5.1) */
17 #define HOST_OS "`uname -s | tr '[A-Z]' '[a-z]'``uname -r`"
19 /* Define only name of host machine OS (eg. solaris2) */
20 #define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | sed -e 's/\..*$//'`"
22 /* Define only version of host machine (eg. 2.5.1) */
23 #define HOST_OS_VERSION "`uname -r`"
25 /* Define name of host */
26 #define HOST_NAME "`hostname`"
28 /* Define user name */
29 #define USER_NAME "`whoami`"
31 /* Define configuration date */
32 #define CONFIG_DATE "`date`"
34 __EOF