projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1051f51
)
Comment out /etc/inittab entries instead of deleting them
author
Art Cancro
<ajc@citadel.org>
Tue, 19 Dec 2006 03:45:14 +0000
(
03:45
+0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 19 Dec 2006 03:45:14 +0000
(
03:45
+0000)
webcit/setup.c
patch
|
blob
|
history
diff --git
a/webcit/setup.c
b/webcit/setup.c
index 189036fc01b38b32b257318105f452cf617a0eaa..ed8bc961423ad57c1be1bc5796eed309465f31a0 100644
(file)
--- 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; /* delet
e it */
+
strcpy(state, "off"); /* disabl
e it */
}
}