Assigning internal variables for shortcut options to be reused by local scripts.
authorDaniel Baumann <daniel@debian.org>
Sun, 25 Nov 2012 08:31:04 +0000 (09:31 +0100)
committerDaniel Baumann <daniel@debian.org>
Sun, 25 Nov 2012 08:31:04 +0000 (09:31 +0100)
scripts/config.sh

index afd3f40..2a29828 100755 (executable)
@@ -73,12 +73,16 @@ Cmdline ()
                                # Disables both console and graphical autologin.
                                _SCRIPTS="${_SCRIPTS:-$(ls /lib/live/config/*)}"
                                LIVE_NOCONFIGS="${LIVE_NOCONFIGS},sysvinit,gdm,gdm3,kdm,lightdm,lxdm,nodm,slim,upstart,xinit"
+
+                               _NOAUTOLOGIN="true"
                                ;;
 
                        live-config.nottyautologin|nottyautologin)
                                # Disables console autologin.
                                _SCRIPTS="${_SCRIPTS:-$(ls /lib/live/config/*)}"
                                LIVE_NOCONFIGS="${LIVE_NOCONFIGS},sysvinit,upstart"
+
+                               _NOTTYAUTOLOGIN="true"
                                ;;
 
                        live-config.nox11autologin|nox11autologin)
@@ -86,6 +90,8 @@ Cmdline ()
                                # mechanism
                                _SCRIPTS="${_SCRIPTS:-$(ls /lib/live/config/*)}"
                                LIVE_NOCONFIGS="${LIVE_NOCONFIGS},gdm,gdm3,kdm,lightdm,lxdm,nodm,slim,xinit"
+
+                               _NOX11AUTOLOGIN="true"
                                ;;
 
                        # Special options