Using consistent spelling to match parameter name for the noroot variable.
authorDaniel Baumann <daniel@debian.org>
Sun, 25 Nov 2012 08:27:51 +0000 (09:27 +0100)
committerDaniel Baumann <daniel@debian.org>
Sun, 25 Nov 2012 08:27:51 +0000 (09:27 +0100)
scripts/config.sh
scripts/config/0030-user-setup

index ec748ad..afd3f40 100755 (executable)
@@ -66,7 +66,7 @@ Cmdline ()
                                _SCRIPTS="${_SCRIPTS:-$(ls /lib/live/config/*)}"
                                LIVE_NOCONFIGS="${LIVE_NOCONFIGS},sudo,policykit"
 
-                               _NO_ROOT="true"
+                               _NOROOT="true"
                                ;;
 
                        live-config.noautologin|noautologin)
index d0939a2..d9a7f41 100755 (executable)
@@ -55,7 +55,7 @@ Configure_user_setup ()
        fi
 
        # Make sure user is not in sudo group if sudo is disabled
-       if [ "${_NO_ROOT}" = "true" ]
+       if [ "${_NOROOT}" = "true" ]
        then
                LIVE_USER_DEFAULT_GROUPS="$(echo ${LIVE_USER_DEFAULT_GROUPS} | sed -e 's|sudo||')"
        fi