Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
636df2cf
Commit
636df2cf
authored
Mar 11, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: tmpfs is now embedded into install media's fstab
parent
15eb3c56
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
rc
src/etc/rc
+2
-5
No files found.
src/etc/rc
View file @
636df2cf
...
@@ -34,13 +34,10 @@ if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
...
@@ -34,13 +34,10 @@ if _tmpdir=$(mktemp -d -q /.diskless.XXXXXX); then
# only remove the directory
# only remove the directory
rmdir
${
_tmpdir
}
rmdir
${
_tmpdir
}
else
else
# create a writable /tmp partition via mfs
/etc/rc.d/tmp start
# fake a writeable environment in some subdirs
# fake a writeable environment in some subdirs
for
i
in
conf etc home root usr var
;
do
for
i
in
conf etc home root usr var
;
do
/bin/mkdir
-p
/tmp/.install.media
/
${
i
}
mkdir
-p
/tmp/.cdrom
/
${
i
}
/sbin/mount_unionfs /tmp/.install.media
/
${
i
}
/
${
i
}
mount_unionfs /tmp/.cdrom
/
${
i
}
/
${
i
}
done
done
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment