From 8e75d93f8641c6f623a9b0a71d51f8c9eead9d5a Mon Sep 17 00:00:00 2001 From: James Davidson Date: Fri, 19 Oct 2012 16:59:58 -0700 Subject: Detect overlayfs in livecd and skip passwd check --- scripts/vyatta-first-login-passwd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vyatta-first-login-passwd.sh b/scripts/vyatta-first-login-passwd.sh index 3c7a0995..1db6e7ca 100755 --- a/scripts/vyatta-first-login-passwd.sh +++ b/scripts/vyatta-first-login-passwd.sh @@ -13,7 +13,7 @@ if [ -e /opt/vyatta/etc/.nofirstpasswd ]; then fi # don't run on livecd installer will do the check -if grep -q -e '^unionfs.*/filesystem.squashfs' /proc/mounts; then +if egrep -q -e '^(union|overlay)fs.*/filesystem\.squashfs' /proc/mounts; then exit 0 fi -- cgit v1.2.3