1 2 3 4 5 6 7
#!/bin/sh if (grep -q 'tmpfs.*/var.*tmpfs' /proc/mounts) then test "$VERBOSE" != no && echo "Copying /var filesystem..." cp -a /boot/var / fi