diff options
author | Esteban Carnevale <alfplayer@mailoo.org> | 2012-10-14 15:11:11 -0300 |
---|---|---|
committer | Esteban Carnevale <alfplayer@mailoo.org> | 2012-10-14 15:11:11 -0300 |
commit | e5edfc111b1e9fc5ec65696245e6cbd96b2af1e4 (patch) | |
tree | 07bdb2e27180c632ad827b400af44695d7c5a15f /configs/releng/root-image/etc/rc.d/functions.d/setup_special_console | |
parent | 4b38c919cbb133c35a06b330e8de9f305c5b4792 (diff) | |
parent | 753d2038024541ac2d10f74e6d408d6ed1a23f2a (diff) |
Merge branch 'master' of https://projects.archlinux.org/git/archiso
Conflicts:
README
configs/releng/build.sh
configs/releng/efiboot/EFI/boot/startup_iso.nsh
configs/releng/efiboot/EFI/boot/startup_usb.nsh
configs/releng/packages.i686
configs/releng/packages.x86_64
configs/releng/root-image/etc/rc.conf
configs/releng/root-image/etc/rc.d/pacman-init
Diffstat (limited to 'configs/releng/root-image/etc/rc.d/functions.d/setup_special_console')
-rw-r--r-- | configs/releng/root-image/etc/rc.d/functions.d/setup_special_console | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/configs/releng/root-image/etc/rc.d/functions.d/setup_special_console b/configs/releng/root-image/etc/rc.d/functions.d/setup_special_console deleted file mode 100644 index 7badfe3..0000000 --- a/configs/releng/root-image/etc/rc.d/functions.d/setup_special_console +++ /dev/null @@ -1,25 +0,0 @@ -# If an alternate console was specified on the kernel command line, -# start agetty on it too. -setup_special_console() -{ - local cmdline_console - if cmdline_console=$(kernel_cmdline console); then - stat_busy "Starting agetty on console: ${cmdline_console}" - local port options baud rts - port=${cmdline_console%%,*} - options=${cmdline_console#${port}} - options=${options#,} - baud=${options%%[neo]*} - [[ ${options} == *r ]] && rts="-h" - if ! grep -q "^${port}" /etc/securetty; then - echo ${port} >> /etc/securetty - fi - if ! grep -q "^z0:" /etc/inittab; then - echo "z0:2345:respawn:/sbin/agetty -8 -s ${rts} ${baud:-9600} ${port} linux" >> /etc/inittab - fi - /sbin/telinit q - stat_done - fi -} - -add_hook sysinit_end setup_special_console |