diff options
-rw-r--r-- | src/librc/librc-depend.c | 1 | ||||
-rw-r--r-- | src/rc/rc-misc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/librc/librc-depend.c b/src/librc/librc-depend.c index 0f21ce49..ac8245fd 100644 --- a/src/librc/librc-depend.c +++ b/src/librc/librc-depend.c @@ -655,6 +655,7 @@ static const char *const depdirs[] = RC_SVCDIR "/options", RC_SVCDIR "/exclusive", RC_SVCDIR "/scheduled", + RC_SVCDIR "/tmp", NULL }; 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); |