1: /*************************************************************************
2: * (C) 2009 AITNET - Sofia/Bulgaria - <office@aitbg.com>
3: * by Michael Pounov <misho@aitbg.com>
4: *
5: * $Author: misho $
6: * $Id: defs.h,v 1.2.2.1 2011/06/13 20:04:12 misho Exp $
7: *
8: *************************************************************************/
9: #ifndef __DEFS_H
10: #define __DEFS_H
11:
12:
13: #define MAX_STR 256
14: #define TFTP_BUF 516
15: #define TFTP_RETRY 7
16: #define TFTP_TIMEOUT 3
17:
18: #define DEFAULT_TIMEOUT "300"
19: #define DEFAULT_CONFIG "/etc/cfexec.conf"
20: #define DEFAULT_USER "root"
21: #define DEFAULT_MOUNT "/elwix"
22: #define DEFAULT_DEVICE "/dev/ufs/elwix"
23: #define DEFAULT_CHROOT "/"
24: #define DEFAULT_TMP "/tmp"
25: #define DEFAULT_TFTP 69
26: #define DEFAULT_TFTPDIR "/elwix/tftpboot"
27: #define DEFAULT_PKGDIR "/system"
28:
29: #define FIRMWARE_IMG "elwix-firmware.sys"
30: #define FIRMWARE_BAK "elwix-firmware.sys.old"
31:
32: #define VERB(x) if ((x) <= Verbose)
33: #define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m %s(%d) ...\n", __func__, __LINE__)
34:
35:
36: extern int Verbose;
37:
38:
39: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>