|
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:
490 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | |
|---|
| 3 | # add default network interface configuration |
|---|
| 4 | |
|---|
| 5 | cat > "$DEBIRF_ROOT"/etc/network/interfaces <<EOF |
|---|
| 6 | # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or |
|---|
| 7 | # /usr/share/doc/ifupdown/examples for more information. |
|---|
| 8 | |
|---|
| 9 | auto lo |
|---|
| 10 | iface lo inet loopback |
|---|
| 11 | |
|---|
| 12 | # a default dynamic ethernet address. |
|---|
| 13 | # if you have eth0, you can use this with "ifup eth0=dhcp" |
|---|
| 14 | iface dhcp inet dhcp |
|---|
| 15 | EOF |
|---|
| 16 | |
|---|
| 17 | # reset default udev persistent-net rule |
|---|
| 18 | |
|---|
| 19 | rm -f "$DEBIRF_ROOT"/etc/udev/rules.d/*_persistent-net.rules |
|---|
Note: See
TracBrowser
for help on using the repository browser.