projects
/
rrq
/
overlay-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup. Split out upstream from packaging and experiments.
[rrq/overlay-boot.git]
/
overlay-init
diff --git
a/overlay-init
b/overlay-init
index 60e263466d9fc4b826cedd0c1457e70ba7654b0d..48f9867e0082c0a0e7eca5309b133bdbeb09d60e 100755
(executable)
--- a/
overlay-init
+++ b/
overlay-init
@@
-13,11
+13,6
@@
subhost_config
cat <<EOF
set -x
mount -t proc proc /proc
cat <<EOF
set -x
mount -t proc proc /proc
-mount -t devpts devpts /dev/pts
-mount -t sysfs sysfs /sys
-if [ "$RAM_SIZE" != "none" ] && ! grep -q '/run tmpfs' /proc/mounts ; then
- mount -t tmpfs -osize=$RAM_SIZE,mode=755 tmpfs /run
-fi
for srv in $START ; do service \$srv start ; done
dummy_service() {
[ \$# -gt 3 ] && return 0
for srv in $START ; do service \$srv start ; done
dummy_service() {
[ \$# -gt 3 ] && return 0
@@
-30,5
+25,3
@@
dummy_service() {
dummy_service /proc/*/comm
exec /.reaper $NAME
EOF
dummy_service /proc/*/comm
exec /.reaper $NAME
EOF
-
-