autoconf
char autoconf[10];
strlcpy(autoconf, "yes", sizeof(autoconf));
set_autoconfig(fd, raidID, autoconf);
strlcpy(autoconf, optarg, sizeof(autoconf));
set_autoconfig(fd, raidID, autoconf);
set_autoconfig(int fd, int raidID, char *autoconf)
if (strncasecmp(autoconf, "root", 4) == 0 ||
strncasecmp(autoconf, "hard", 4) == 0 ||
strncasecmp(autoconf, "force", 5) == 0) {
} else if (strncasecmp(autoconf, "soft", 4) == 0) {
if ((strncasecmp(autoconf,"yes", 3) == 0) ||
void autoconf(void);
autoconf();
void autoconf(void);