Add RC_TMPDIR so that there's a writeable location during boot.
This commit is contained in:
parent
bab5d7767d
commit
dc5d63aa97
@ -655,6 +655,7 @@ static const char *const depdirs[] =
|
||||
RC_SVCDIR "/options",
|
||||
RC_SVCDIR "/exclusive",
|
||||
RC_SVCDIR "/scheduled",
|
||||
RC_SVCDIR "/tmp",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user