|
Last change
on this file since 370 was
370,
checked in by jrollins, 6 years ago
|
|
debirf: a couple of pretty big changes/simplifications.
condensed plugins into a single phase. it was silly to have 2 phases that ran
back-to-back, when the plugins are already run by run-parts in a particular
order.
broke out some shell functions to a /usr/share/debirf/common file that will be
sourced and therefore available to all plugins. (can we explode
setup_debirf_info function now?)
updated man page. included plugins section and section on pre-defined functions.
|
-
Property svn:executable set to
*
|
|
File size:
338 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | # add serial terminal |
|---|
| 4 | |
|---|
| 5 | INITTAB="$DEBIRF_ROOT/etc/inittab" |
|---|
| 6 | TTY="ttyS0" |
|---|
| 7 | |
|---|
| 8 | if grep "$TTY" "$INITTAB" | grep -q -v "^[:space:]*#" ; then |
|---|
| 9 | echo "inittab already has terminal on $TTY." |
|---|
| 10 | exit 1 |
|---|
| 11 | fi |
|---|
| 12 | |
|---|
| 13 | cat >> "$DEBIRF_ROOT"/etc/inittab <<EOF |
|---|
| 14 | # debirf: added serial console output: |
|---|
| 15 | T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100 |
|---|
| 16 | EOF |
|---|
Note: See
TracBrowser
for help on using the repository browser.