From: Art Cancro Date: Tue, 19 Dec 2006 03:45:14 +0000 (+0000) Subject: Comment out /etc/inittab entries instead of deleting them X-Git-Tag: v7.86~3785 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=43014b4e48611ada1a8656c0ecc896c6f4c5776a;p=citadel.git Comment out /etc/inittab entries instead of deleting them --- diff --git a/webcit/setup.c b/webcit/setup.c index 189036fc0..ed8bc9614 100644 --- a/webcit/setup.c +++ b/webcit/setup.c @@ -55,7 +55,7 @@ void delete_init_entry(char *which_entry) extract_token(prog, buf, 3, ':', sizeof prog); /* includes 0x0a LF */ if (!strcmp(entry, which_entry)) { - buf[0] = 0; /* delete it */ + strcpy(state, "off"); /* disable it */ } }