summaryrefslogtreecommitdiffstats
path: root/openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs')
-rwxr-xr-xopenembedded/packages/initscripts/initscripts-1.0/openmn/extractfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs b/openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs
new file mode 100755
index 0000000000..7e57dedd2d
--- /dev/null
+++ b/openembedded/packages/initscripts/initscripts-1.0/openmn/extractfs
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts)
4then
5 test "$VERBOSE" != no && echo "Copying /var filesystem..."
6 cp -a /boot/var /
7fi