diff options
-rw-r--r-- | usr.sbin/sade/config.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/config.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 77cb9d0..56c3287 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -422,6 +422,8 @@ configRC_conf(void) while(fgets(line, sizeof(line), rcOld)) { if(line[0] == '#' || variable_check2(line) != 0) fprintf(rcSite, "%s", line); + else + fprintf(rcSite, "#REMOVED: %s", line); } fclose(rcOld); } else { diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 77cb9d0..56c3287 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -422,6 +422,8 @@ configRC_conf(void) while(fgets(line, sizeof(line), rcOld)) { if(line[0] == '#' || variable_check2(line) != 0) fprintf(rcSite, "%s", line); + else + fprintf(rcSite, "#REMOVED: %s", line); } fclose(rcOld); } else { |