summaryrefslogtreecommitdiff
path: root/initscripts/initscripts-1.0/ramses/extractfs
diff options
context:
space:
mode:
Diffstat (limited to 'initscripts/initscripts-1.0/ramses/extractfs')
-rw-r--r--initscripts/initscripts-1.0/ramses/extractfs7
1 files changed, 7 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0/ramses/extractfs b/initscripts/initscripts-1.0/ramses/extractfs
index e69de29bb2..7e57dedd2d 100644
--- a/initscripts/initscripts-1.0/ramses/extractfs
+++ b/initscripts/initscripts-1.0/ramses/extractfs
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts)
+then
+ test "$VERBOSE" != no && echo "Copying /var filesystem..."
+ cp -a /boot/var /
+fi