]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
installer: Remove autologin feature.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2010 21:37:22 +0000 (23:37 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 24 Sep 2010 21:37:22 +0000 (23:37 +0200)
src/install/etc/init/serial.conf [deleted file]
src/install/etc/init/tty1.conf [deleted file]
src/install/etc/init/tty2.conf [deleted file]
src/install/etc/init/tty3.conf [deleted file]
src/install/etc/init/tty4.conf [deleted file]
src/install/root/.bash_profile [deleted file]
src/install/root/autologin [deleted file]

diff --git a/src/install/etc/init/serial.conf b/src/install/etc/init/serial.conf
deleted file mode 100644 (file)
index 7663989..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-description             "Start a tty"
-author                  "IPFire Team"
-
-# Automatically start a configured serial console
-#
-# How this works:
-#
-# On boot, a udev helper examines /dev/console. If a serial console is the
-# primary console (last console on the commandline in grub),  the event
-# 'serial-console-available <port name> <speed>' is emitted, which
-# triggers this script.
-#
-# If your serial console is not the primary console, or you want a getty
-# on serial even if it's not the console, create your own event by copying
-# /etc/init/tty[2-6], and changing the getty line in that file.
-
-start on serial-console-available *
-stop on starting shutdown or starting reboot
-
-pre-start script
-       /sbin/securetty $DEV
-end script
-
-exec /sbin/agetty -n -l /root/autologin $DEV $SPEED vt100-nav
diff --git a/src/install/etc/init/tty1.conf b/src/install/etc/init/tty1.conf
deleted file mode 100644 (file)
index ab40e15..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-description            "Start a tty"
-author                 "IPFire Team"
-
-start on stopped mountfs
-stop on starting shutdown
-
-respawn
-exec /sbin/agetty -n -l /root/autologin tty1 9600
diff --git a/src/install/etc/init/tty2.conf b/src/install/etc/init/tty2.conf
deleted file mode 100644 (file)
index 83bafd5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-description            "Start a tty"
-author                 "IPFire Team"
-
-start on stopped mountfs
-stop on starting shutdown
-
-respawn
-exec /sbin/agetty -n -l /root/autologin tty2 9600
diff --git a/src/install/etc/init/tty3.conf b/src/install/etc/init/tty3.conf
deleted file mode 100644 (file)
index 8045bd4..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-description            "Start a tty"
-author                 "IPFire Team"
-
-start on stopped mountfs
-stop on starting shutdown
-
-respawn
-exec /sbin/agetty -n -l /root/autologin tty3 9600
diff --git a/src/install/etc/init/tty4.conf b/src/install/etc/init/tty4.conf
deleted file mode 100644 (file)
index b9f4217..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-description            "Start a tty"
-author                 "IPFire Team"
-
-start on stopped mountfs
-stop on starting shutdown
-
-respawn
-exec /sbin/agetty -n -l /root/autologin tty4 9600
diff --git a/src/install/root/.bash_profile b/src/install/root/.bash_profile
deleted file mode 100644 (file)
index 00680d6..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2008  Michael Tremer & Christian Schmidt                      #
-#                                                                             #
-# This program is free software: you can redistribute it and/or modify        #
-# it under the terms of the GNU General Public License as published by        #
-# the Free Software Foundation, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-LANG=en_US.UTF-8
-export LANG
-
-command=/sbin/pomona
-debug=off
-mode=
-
-for o in $(cat /proc/cmdline) ; do
-    case $o in
-    mode=*)
-        mode=${o#mode=}
-        ;;
-    debug)
-        debug=on
-    esac
-done
-
-if [ "$mode" = "install" ] && [[ "$(tty)" =~ "tty1" ]]; then
-       if [ "$debug" == "on" ]; then
-               command="$command --debug"
-       fi
-       exec $command
-fi
diff --git a/src/install/root/autologin b/src/install/root/autologin
deleted file mode 100755 (executable)
index c8e4251..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-echo "Logging in \"root\""
-exec /bin/login -f root