version 1.1, 2009/11/12 10:35:55
|
version 1.2, 2011/06/08 12:45:40
|
Line 11
|
Line 11
|
|
|
|
|
#define MAX_STR 256 |
#define MAX_STR 256 |
|
#define TFTP_BUF 516 |
|
#define TFTP_RETRY 7 |
|
#define TFTP_TIMEOUT 3 |
|
|
#define DEFAULT_TIMEOUT "300" |
#define DEFAULT_TIMEOUT "300" |
#define DEFAULT_CONFIG "/etc/cfexec.conf" |
#define DEFAULT_CONFIG "/etc/cfexec.conf" |
#define DEFAULT_USER "root" |
#define DEFAULT_USER "root" |
#define DEFAULT_MOUNT "/cf" | #define DEFAULT_MOUNT "/elwix" |
#define DEFAULT_DEVICE "/dev/ufs/AITBSDonCF" | #define DEFAULT_DEVICE "/dev/ufs/elwix" |
#define DEFAULT_CHROOT "/" |
#define DEFAULT_CHROOT "/" |
#define DEFAULT_TMP "/tmp" |
#define DEFAULT_TMP "/tmp" |
|
#define DEFAULT_TFTP 69 |
|
#define DEFAULT_TFTPDIR "/elwix/tftpboot" |
|
#define DEFAULT_PKGDIR "/system" |
|
|
|
#define FIRMWARE_IMG "elwix-firmware.sys" |
|
#define FIRMWARE_BAK "elwix-firmware.sys.old" |
|
|
|
#if defined(__FreeBSD__) |
|
#elif defined(__OpenBSD__) |
|
#endif |
|
|
#define VERB(x) if ((x) <= Verbose) |
#define VERB(x) if ((x) <= Verbose) |
|
#define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m %s(%d) ...\n", __func__, __LINE__) |
|
|
|
|
extern sl_config cfg; | extern int Verbose; |
|
|
|
|
#endif |
#endif |