From 43014b4e48611ada1a8656c0ecc896c6f4c5776a Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 19 Dec 2006 03:45:14 +0000 Subject: [PATCH] Comment out /etc/inittab entries instead of deleting them --- webcit/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } } -- 2.39.2