From dc5d63aa9709f542e3a9cb7846f7a99cf60af0f6 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 21 Apr 2008 10:29:29 +0000 Subject: Add RC_TMPDIR so that there's a writeable location during boot. --- src/rc/rc-misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rc') diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 85140aac..191fa3d4 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -224,6 +224,7 @@ void env_config(void) setenv("RC_LIBDIR", RC_LIBDIR, 1); setenv("RC_SVCDIR", RC_SVCDIR, 1); + setenv("RC_TMPDIR", RC_SVCDIR "/tmp", 1); setenv("RC_BOOTLEVEL", RC_LEVEL_BOOT, 1); e = rc_runlevel_get(); setenv("RC_RUNLEVEL", e, 1); -- cgit v1.2.3