Removing getty and login wrappers, live-config takes care about that now.
authorDaniel Baumann <daniel@debian.org>
Mon, 7 Jun 2010 11:11:13 +0000 (13:11 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:53:26 +0000 (17:53 +0100)
Makefile
bin/live-getty [deleted file]
bin/live-login [deleted file]

index 85b8909..efdb0e3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ install:
 
        # Installing executables
        mkdir -p $(DESTDIR)/sbin
-       cp bin/live-getty bin/live-login bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
+       cp bin/live-new-uuid bin/live-snapshot bin/live-swapfile $(DESTDIR)/sbin
 
        mkdir -p $(DESTDIR)/usr/share/live-boot
        cp bin/live-preseed bin/live-reconfigure contrib/languagelist $(DESTDIR)/usr/share/live-boot
@@ -79,7 +79,7 @@ install:
 
 uninstall:
        # Uninstalling executables
-       rm -f $(DESTDIR)/sbin/live-getty $(DESTDIR)/sbin/live-login $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
+       rm -f $(DESTDIR)/sbin/live-snapshot $(DESTDIR)/sbin/live-swapfile
        rm -rf $(DESTDIR)/usr/share/live-boot
        rm -f $(DESTDIR)/usr/share/initramfs-tools/hooks/live
        rm -rf $(DESTDIR)/usr/share/initramfs-tools/scripts/live*
diff --git a/bin/live-getty b/bin/live-getty
deleted file mode 100755 (executable)
index 6781ea5..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e
-
-AUTOLOGIN="1"
-
-for ARGUMENT in "${@}"
-do
-       if [ "${ARGUMENT}" = "-l" ] || [ "${ARGUMENT}" = "-n" ]
-       then
-               AUTOLOGIN="0"
-       fi
-done
-
-if [ "${AUTOLOGIN}" = "1" ]
-then
-       exec /sbin/getty -n -l /sbin/live-login ${*}
-else
-       exec /sbin/getty ${*}
-fi
diff --git a/bin/live-login b/bin/live-login
deleted file mode 100755 (executable)
index c2cc5a1..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-USERNAME="root"
-
-if [ -f /etc/live.conf ]
-then
-       . /etc/live.conf
-fi
-
-exec /bin/login -f "${USERNAME}"