version 1.7, 2006/04/23 08:51:24 |
version 1.8, 2006/07/09 23:02:21 |
|
|
|
|
int verbose = 0; |
int verbose = 0; |
int isdemon = 0; |
int isdemon = 0; |
int reparse = 1; |
int reparse = 0; |
|
|
struct command { |
struct command { |
struct command *next; |
struct command *next; |
|
|
isdigit(dev[0]) ? "uhid" : "", dev); |
isdigit(dev[0]) ? "uhid" : "", dev); |
dev = devnamebuf; |
dev = devnamebuf; |
} |
} |
|
|
|
if (demon && conf[0] != '/') |
|
errx(1, "config file must have an absolute path, %s", conf); |
|
|
fd = open(dev, O_RDWR); |
fd = open(dev, O_RDWR); |
if (fd < 0) |
if (fd < 0) |