Merge branch 'clear_tmp_on_boot' into 'master'

Clear /tmp when booting

See merge request redox-os/redox!1403
This commit is contained in:
Jeremy Soller 2024-01-08 16:16:55 +00:00
commit f04bb44e55
4 changed files with 5 additions and 10 deletions

View file

@ -15,11 +15,16 @@ initfs = {}
ipcd = {}
kernel = {}
ptyd = {}
uutils = {}
## Configuration files
[[files]]
path = "/usr/lib/init.d/00_base"
data = """
# clear and recreate tmpdir with 0o1777 permission
rm -r /tmp
mkdir -m a=rwxt /tmp
ipcd
ptyd
escalated
@ -86,13 +91,6 @@ path = "/share"
data = "usr/share"
symlink = true
## /tmp directory with special mode
[[files]]
path = "/tmp"
data = ""
directory = true
mode = 0o1777
## Device file symlinks
[[files]]
path = "/dev/null"

View file

@ -20,7 +20,6 @@ gnu-make = {}
netdb = {}
resist = {}
userutils = {}
uutils = {}
# Override to not background dhcpd
[[files]]

View file

@ -14,7 +14,6 @@ extrautils = {}
ion = {}
smith = {}
userutils = {}
uutils = {}
[[files]]
path = "/usr/lib/init.d/30_console"

View file

@ -29,7 +29,6 @@ resist = {}
smith = {}
terminfo = {}
userutils = {}
uutils = {}
vim = {}
[[files]]