Skip to content
Snippets Groups Projects
Commit f04bb44e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'clear_tmp_on_boot' into 'master'

Clear /tmp when booting

See merge request redox-os/redox!1403
parents 9944576a fc4a6d43
No related branches found
No related tags found
No related merge requests found
...@@ -15,11 +15,16 @@ initfs = {} ...@@ -15,11 +15,16 @@ initfs = {}
ipcd = {} ipcd = {}
kernel = {} kernel = {}
ptyd = {} ptyd = {}
uutils = {}
## Configuration files ## Configuration files
[[files]] [[files]]
path = "/usr/lib/init.d/00_base" path = "/usr/lib/init.d/00_base"
data = """ data = """
# clear and recreate tmpdir with 0o1777 permission
rm -r /tmp
mkdir -m a=rwxt /tmp
ipcd ipcd
ptyd ptyd
escalated escalated
...@@ -86,13 +91,6 @@ path = "/share" ...@@ -86,13 +91,6 @@ path = "/share"
data = "usr/share" data = "usr/share"
symlink = true symlink = true
## /tmp directory with special mode
[[files]]
path = "/tmp"
data = ""
directory = true
mode = 0o1777
## Device file symlinks ## Device file symlinks
[[files]] [[files]]
path = "/dev/null" path = "/dev/null"
......
...@@ -20,7 +20,6 @@ gnu-make = {} ...@@ -20,7 +20,6 @@ gnu-make = {}
netdb = {} netdb = {}
resist = {} resist = {}
userutils = {} userutils = {}
uutils = {}
# Override to not background dhcpd # Override to not background dhcpd
[[files]] [[files]]
......
...@@ -14,7 +14,6 @@ extrautils = {} ...@@ -14,7 +14,6 @@ extrautils = {}
ion = {} ion = {}
smith = {} smith = {}
userutils = {} userutils = {}
uutils = {}
[[files]] [[files]]
path = "/usr/lib/init.d/30_console" path = "/usr/lib/init.d/30_console"
......
...@@ -29,7 +29,6 @@ resist = {} ...@@ -29,7 +29,6 @@ resist = {}
smith = {} smith = {}
terminfo = {} terminfo = {}
userutils = {} userutils = {}
uutils = {}
vim = {} vim = {}
[[files]] [[files]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment