# 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
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*
+++ /dev/null
-#!/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