diff options
author | Roy Marples <roy@marples.name> | 2008-04-21 10:29:29 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-04-21 10:29:29 +0000 |
commit | dc5d63aa9709f542e3a9cb7846f7a99cf60af0f6 (patch) | |
tree | e0aff1bd9d4a4012f3a8af2f01ad3d0591e99dcd /src/rc | |
parent | bab5d7767ddde165f1c79e8d5ee9b748e4dae21d (diff) |
Add RC_TMPDIR so that there's a writeable location during boot.
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/rc-misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |