diff options
author | James Davidson <james.davidson@vyatta.com> | 2012-10-19 16:59:58 -0700 |
---|---|---|
committer | James Davidson <james.davidson@vyatta.com> | 2012-10-19 16:59:58 -0700 |
commit | 8e75d93f8641c6f623a9b0a71d51f8c9eead9d5a (patch) | |
tree | 3f7706a66ebc1d06807acd87439fcadaafde65ff /scripts | |
parent | e81a80396ea14373a5c4994440ccea0c846f9be5 (diff) | |
download | vyatta-cfg-system-8e75d93f8641c6f623a9b0a71d51f8c9eead9d5a.tar.gz vyatta-cfg-system-8e75d93f8641c6f623a9b0a71d51f8c9eead9d5a.zip |
Detect overlayfs in livecd and skip passwd check
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-first-login-passwd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |