diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2001-08-15 17:10:49 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2001-08-15 17:10:49 +0000 |
| commit | 67923e665badb55aa5d2169bd41727195ee80ddd (patch) | |
| tree | 85796166df34929c5d7530f2cd687b55d5d64f4d | |
| parent | 99fe508b9da376b4310afb5553cd4c0bb3def5d9 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/sade/config.c | 5 | ||||
| -rw-r--r-- | usr.sbin/sysinstall/config.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 741b6f24351c..583b569f69a2 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -382,6 +382,7 @@ configRC_conf(void) time_t t_loc; char *cp; static int did_marker = 0; + time_t tp; configTtys(); write_header = !file_readable("/etc/rc.conf"); @@ -400,7 +401,9 @@ configRC_conf(void) for (v = VarHead; v; v = v->next) { if (v->dirty) { if (!did_marker) { - fprintf(rcSite, "# -- sysinstall generated deltas -- #\n"); + time(&tp); + fprintf(rcSite, "# -- sysinstall generated deltas -- # " + "%s", ctime(&tp)); did_marker = 1; } fprintf(rcSite, "%s=\"%s\"\n", v->name, v->value); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 741b6f24351c..583b569f69a2 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -382,6 +382,7 @@ configRC_conf(void) time_t t_loc; char *cp; static int did_marker = 0; + time_t tp; configTtys(); write_header = !file_readable("/etc/rc.conf"); @@ -400,7 +401,9 @@ configRC_conf(void) for (v = VarHead; v; v = v->next) { if (v->dirty) { if (!did_marker) { - fprintf(rcSite, "# -- sysinstall generated deltas -- #\n"); + time(&tp); + fprintf(rcSite, "# -- sysinstall generated deltas -- # " + "%s", ctime(&tp)); did_marker = 1; } fprintf(rcSite, "%s=\"%s\"\n", v->name, v->value); |
