/[baselayout]/trunk/sbin/livecd-functions.sh
Gentoo

Diff of /trunk/sbin/livecd-functions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 483 Revision 484
1#!/bin/bash 1#!/bin/bash
2# Copyright 1999-2003 Gentoo Technologies, Inc. 2# Copyright 1999-2004 Gentoo Technologies, Inc.
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header$ 4# $Header$
5 5
6# Global Variables: 6# Global Variables:
7# CDBOOT -- is booting off CD 7# CDBOOT -- is booting off CD
9# -- (ttyS0, tty1, etc). Only defined if passed to kernel 9# -- (ttyS0, tty1, etc). Only defined if passed to kernel
10# LIVECD_CONSOLE_BAUD -- console baudrate specified 10# LIVECD_CONSOLE_BAUD -- console baudrate specified
11# LIVECD_CONSOLE_PARITY -- console parity specified 11# LIVECD_CONSOLE_PARITY -- console parity specified
12# LIVECD_CONSOLE_DATABITS -- console databits specified 12# LIVECD_CONSOLE_DATABITS -- console databits specified
13 13
14
15livecd_parse_opt() { 14livecd_parse_opt() {
16 case "$1" in 15 case "$1" in
17 *\=*) 16 *\=*)
18 echo "$1" | cut -f2 -d= 17 echo "$1" | cut -f2 -d=;;
19 ;; 18 esac
20 esac
21} 19}
22 20
23livecd_console_settings() { 21livecd_console_settings() {
24 # scan for a valid baud rate 22 # scan for a valid baud rate
25 case "$1" in 23 case "$1" in

Legend:
Removed from v.483  
changed lines
  Added in v.484

  ViewVC Help
Powered by ViewVC 1.1.20