version 1.1.1.1.2.5, 2009/11/15 21:33:17
|
version 1.1.1.1.2.8, 2010/10/27 16:04:52
|
Line 15
|
Line 15
|
#define TFTP_RETRY 7 |
#define TFTP_RETRY 7 |
#define TFTP_TIMEOUT 3 |
#define TFTP_TIMEOUT 3 |
|
|
#define TFTP_RRQ 1 |
|
#define TFTP_WRQ 2 |
|
#define TFTP_DATA 3 |
|
#define TFTP_ACK 4 |
|
#define TFTP_ERROR 5 |
|
|
|
#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_TFTP 69 |
#define DEFAULT_TFTPDIR "/cf/tftpboot" | #define DEFAULT_TFTPDIR "/elwix/tftpboot" |
|
|
#define FIRMWARE_IMG "aitbsd-firmware" | #define FIRMWARE_IMG "elwix-firmware.sys" |
#define FIRMWARE_BAK "aitbsd-firmware.old" | #define FIRMWARE_BAK "elwix-firmware.sys.old" |
|
|
#define VERB(x) if ((x) <= Verbose) |
#define VERB(x) if ((x) <= Verbose) |
|
#define FTRACE(x) VERB((x)) syslog(LOG_DEBUG, "Debug:: I`m %s(%d) ...\n", __func__, __LINE__) |
|
|
|
|
extern int Verbose; |
extern int Verbose; |