[SCM] live-debconfig branch, upstream, updated. upstream/4.0_a5-1-gf3c10f0

Daniel Baumann daniel at debian.org
Thu Sep 20 12:19:21 UTC 2012


The following commit has been merged in the upstream branch:
commit f3c10f0b59947f34b8848c7b037f2ef36aba75a0
Author: Daniel Baumann <daniel at debian.org>
Date:   Thu Sep 20 14:19:12 2012 +0200

    Adding upstream version 4.0~a6.

diff --git a/VERSION b/VERSION
index 0fdde2b..0bc7477 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-4.0~a5-1
+4.0~a6-1
diff --git a/manpages/ca/live-debconfig.ca.7 b/manpages/ca/live-debconfig.ca.7
index be74798..122bec0 100644
--- a/manpages/ca/live-debconfig.ca.7
+++ b/manpages/ca/live-debconfig.ca.7
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 7 22.08.2012 4.0~a5\-1 "Projecte Debian Live"
+.TH LIVE\-DEBCONFIG 7 20.09.2012 4.0~a6\-1 "Projecte Debian Live"
 
 .SH NOM
 \fBlive\-debconfig\fP \- Scripts de Configuració del Sistema
diff --git a/manpages/ca/live-debconfig_hostname.ca.5 b/manpages/ca/live-debconfig_hostname.ca.5
index dd0e327..4f65ac3 100644
--- a/manpages/ca/live-debconfig_hostname.ca.5
+++ b/manpages/ca/live-debconfig_hostname.ca.5
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 5 22.08.2012 4.0~a5\-1 "Projecte Debian Live"
+.TH LIVE\-DEBCONFIG 5 20.09.2012 4.0~a6\-1 "Projecte Debian Live"
 
 .SH NOM
 \fBlive\-debconfig\fP \- script hostname
diff --git a/manpages/de/live-debconfig.de.7 b/manpages/de/live-debconfig.de.7
index d1ac916..8d2276f 100644
--- a/manpages/de/live-debconfig.de.7
+++ b/manpages/de/live-debconfig.de.7
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 7 22.08.2012 4.0~a5\-1 "Debian Live Projekt"
+.TH LIVE\-DEBCONFIG 7 20.09.2012 4.0~a6\-1 "Debian Live Projekt"
 
 .SH NAME
 \fBlive\-debconfig\fP \- System Konfiguration Skripte
diff --git a/manpages/de/live-debconfig_hostname.de.5 b/manpages/de/live-debconfig_hostname.de.5
index e57723b..3a25155 100644
--- a/manpages/de/live-debconfig_hostname.de.5
+++ b/manpages/de/live-debconfig_hostname.de.5
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 5 22.08.2012 4.0~a5\-1 "Debian Live Projekt"
+.TH LIVE\-DEBCONFIG 5 20.09.2012 4.0~a6\-1 "Debian Live Projekt"
 
 .SH NAME
 \fBlive\-debconfig\fP \- Hostname Skript
diff --git a/manpages/en/live-debconfig.7 b/manpages/en/live-debconfig.7
index 37d7413..1e3e3e7 100644
--- a/manpages/en/live-debconfig.7
+++ b/manpages/en/live-debconfig.7
@@ -6,7 +6,7 @@
 .\" under certain conditions; see COPYING for details.
 .\"
 .\"
-.TH LIVE\-DEBCONFIG 7 2012\-08\-22 4.0~a5-1 "Debian Live Project"
+.TH LIVE\-DEBCONFIG 7 2012\-09\-20 4.0~a6-1 "Debian Live Project"
 
 .SH NAME
 \fBlive\-debconfig\fR \- System Configuration Scripts
diff --git a/manpages/en/live-debconfig_hostname.5 b/manpages/en/live-debconfig_hostname.5
index 1643918..50c6a0f 100644
--- a/manpages/en/live-debconfig_hostname.5
+++ b/manpages/en/live-debconfig_hostname.5
@@ -6,7 +6,7 @@
 .\" under certain conditions; see COPYING for details.
 .\"
 .\"
-.TH LIVE\-DEBCONFIG 5 2012\-08\-22 4.0~a5-1 "Debian Live Project"
+.TH LIVE\-DEBCONFIG 5 2012\-09\-20 4.0~a6-1 "Debian Live Project"
 
 .SH NAME
 \fBlive\-debconfig\fR \- hostname script
diff --git a/manpages/es/live-debconfig.es.7 b/manpages/es/live-debconfig.es.7
index e3cfae5..24ead0d 100644
--- a/manpages/es/live-debconfig.es.7
+++ b/manpages/es/live-debconfig.es.7
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 7 22.08.2012 4.0~a5\-1 "Proyecto Debian Live"
+.TH LIVE\-DEBCONFIG 7 20.09.2012 4.0~a6\-1 "Proyecto Debian Live"
 
 .SH NOMBRE
 \fBlive\-debconfig\fP \- Scripts de Configuración del Sistema
diff --git a/manpages/es/live-debconfig_hostname.es.5 b/manpages/es/live-debconfig_hostname.es.5
index 1fe144c..f028435 100644
--- a/manpages/es/live-debconfig_hostname.es.5
+++ b/manpages/es/live-debconfig_hostname.es.5
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 5 22.08.2012 4.0~a5\-1 "Proyecto Debian Live"
+.TH LIVE\-DEBCONFIG 5 20.09.2012 4.0~a6\-1 "Proyecto Debian Live"
 
 .SH NOMBRE
 \fBlive\-debconfig\fP \- script hostname
diff --git a/manpages/fr/live-debconfig.fr.7 b/manpages/fr/live-debconfig.fr.7
index 02117dd..0db9456 100644
--- a/manpages/fr/live-debconfig.fr.7
+++ b/manpages/fr/live-debconfig.fr.7
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 7 22.08.2012 4.0~a5\-1 "Projet Debian Live"
+.TH LIVE\-DEBCONFIG 7 20.09.2012 4.0~a6\-1 "Projet Debian Live"
 
 .SH NOM
 \fBlive\-debconfig\fP \- Scripts de configuration du système
diff --git a/manpages/fr/live-debconfig_hostname.fr.5 b/manpages/fr/live-debconfig_hostname.fr.5
index 32a16b5..438c7af 100644
--- a/manpages/fr/live-debconfig_hostname.fr.5
+++ b/manpages/fr/live-debconfig_hostname.fr.5
@@ -11,7 +11,7 @@
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH LIVE\-DEBCONFIG 5 22.08.2012 4.0~a5\-1 "Projet Debian Live"
+.TH LIVE\-DEBCONFIG 5 20.09.2012 4.0~a6\-1 "Projet Debian Live"
 
 .SH NOM
 \fBlive\-debconfig\fP \- script hostname
diff --git a/manpages/po/ca/live-debconfig.7.po b/manpages/po/ca/live-debconfig.7.po
index 43e76d7..909bca9 100644
--- a/manpages/po/ca/live-debconfig.7.po
+++ b/manpages/po/ca/live-debconfig.7.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-08-17 00:41+0100\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/ca/live-debconfig_hostname.5.po b/manpages/po/ca/live-debconfig_hostname.5.po
index 994e211..e05edc6 100644
--- a/manpages/po/ca/live-debconfig_hostname.5.po
+++ b/manpages/po/ca/live-debconfig_hostname.5.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-07-31 14:56+0200\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/de/live-debconfig.7.po b/manpages/po/de/live-debconfig.7.po
index 7836b79..9349491 100644
--- a/manpages/po/de/live-debconfig.7.po
+++ b/manpages/po/de/live-debconfig.7.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2010-05-24 09:59+0300\n"
 "Last-Translator: Daniel Baumann <daniel at debian.org>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/de/live-debconfig_hostname.5.po b/manpages/po/de/live-debconfig_hostname.5.po
index cf1b181..1175270 100644
--- a/manpages/po/de/live-debconfig_hostname.5.po
+++ b/manpages/po/de/live-debconfig_hostname.5.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2010-05-24 09:59+0300\n"
 "Last-Translator: Daniel Baumann <daniel at debian.org>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/es/live-debconfig.7.po b/manpages/po/es/live-debconfig.7.po
index 1830e63..37fe0be 100644
--- a/manpages/po/es/live-debconfig.7.po
+++ b/manpages/po/es/live-debconfig.7.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-08-17 00:17+0100\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/es/live-debconfig_hostname.5.po b/manpages/po/es/live-debconfig_hostname.5.po
index d3c7661..a5eb562 100644
--- a/manpages/po/es/live-debconfig_hostname.5.po
+++ b/manpages/po/es/live-debconfig_hostname.5.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-07-30 14:39+0200\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -24,14 +24,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/fr/live-debconfig.7.po b/manpages/po/fr/live-debconfig.7.po
index 2485861..e139581 100644
--- a/manpages/po/fr/live-debconfig.7.po
+++ b/manpages/po/fr/live-debconfig.7.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-08-17 00:35+0100\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -23,14 +23,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/po/fr/live-debconfig_hostname.5.po b/manpages/po/fr/live-debconfig_hostname.5.po
index f48e1e5..c231032 100644
--- a/manpages/po/fr/live-debconfig_hostname.5.po
+++ b/manpages/po/fr/live-debconfig_hostname.5.po
@@ -4,8 +4,8 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: live-debconfig 4.0~a5-1\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"Project-Id-Version: live-debconfig 4.0~a6-1\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: 2012-08-17 00:35+0100\n"
 "Last-Translator: Carlos Zuferri <chals at altorricon.com>\n"
 "Language-Team: none\n"
@@ -23,14 +23,14 @@ msgstr "LIVE-DEBCONFIG"
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
-msgstr "22.08.2012"
+msgid "2012-09-20"
+msgstr "20.09.2012"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
-msgstr "4.0~a5-1"
+msgid "4.0~a6-1"
+msgstr "4.0~a6-1"
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
diff --git a/manpages/pot/live-debconfig.7.pot b/manpages/pot/live-debconfig.7.pot
index ef5e1aa..8084cd0 100644
--- a/manpages/pot/live-debconfig.7.pot
+++ b/manpages/pot/live-debconfig.7.pot
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: live-debconfig VERSION\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -25,13 +25,13 @@ msgstr ""
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
+msgid "2012-09-20"
 msgstr ""
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
+msgid "4.0~a6-1"
 msgstr ""
 
 #. type: TH
diff --git a/manpages/pot/live-debconfig_hostname.5.pot b/manpages/pot/live-debconfig_hostname.5.pot
index a7e46a8..db51847 100644
--- a/manpages/pot/live-debconfig_hostname.5.pot
+++ b/manpages/pot/live-debconfig_hostname.5.pot
@@ -7,7 +7,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: live-debconfig VERSION\n"
-"POT-Creation-Date: 2012-08-22 09:50+0300\n"
+"POT-Creation-Date: 2012-09-20 14:10+0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
 "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -25,13 +25,13 @@ msgstr ""
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "2012-08-22"
+msgid "2012-09-20"
 msgstr ""
 
 #. type: TH
 #: en/live-debconfig.7:9 en/live-debconfig_hostname.5:9
 #, no-wrap
-msgid "4.0~a5-1"
+msgid "4.0~a6-1"
 msgstr ""
 
 #. type: TH
diff --git a/scripts/debconfig/0020-ifupdown b/scripts/debconfig/0020-ifupdown
index fed660b..33250bd 100755
--- a/scripts/debconfig/0020-ifupdown
+++ b/scripts/debconfig/0020-ifupdown
@@ -67,6 +67,9 @@ _ETH0_NETMASK="${RET}" # string (w/o empty)
 db_get live-debconfig/ifupdown/eth0-network
 _ETH0_NETWORK="${RET}" # string (w/ empty)
 
+db_get live-debconfig/ifupdown/eth0-post-up
+_ETH0_POST_UP="${RET}" # string (w/ empty)
+
 db_get live-debconfig/ifupdown/nameserver-addresses
 _NAMESERVER_ADDRESSES="${RET}" # string (w/ empty)
 
@@ -108,6 +111,9 @@ db_fset live-debconfig/ifupdown/eth0-netmask seen false
 db_set live-debconfig/ifupdown/eth0-network "${_ETH0_NETWORK}"
 db_fset live-debconfig/ifupdown/eth0-network seen false
 
+db_set live-debconfig/ifupdown/eth0-post-up "${_ETH0_POST_UP}"
+db_fset live-debconfig/ifupdown/eth0-post-up seen false
+
 db_set live-debconfig/ifupdown/nameserver-addresses "${_NAMESERVER_ADDRESSES}"
 db_fset live-debconfig/ifupdown/nameserver-addresses seen false
 
@@ -168,6 +174,10 @@ case "${_ETH0_METHOD}" in
 		db_go
 
 		db_settitle live-debconfig/title
+		db_input high live-debconfig/ifupdown/eth0-post-up || true
+		db_go
+
+		db_settitle live-debconfig/title
 		db_input high live-debconfig/ifupdown/nameserver-addresses || true
 		db_go
 		;;
@@ -212,6 +222,11 @@ do
 		eval _ETH${_NUMBER}_NETWORK="\"${RET}\"" # string (w/ empty)
 	fi
 
+	if db_get live-debconfig/ifupdown/eth${_NUMBER}-post-up
+	then
+		eval _ETH${_NUMBER}_POST_UP="\"${RET}\"" # string (w/ empty)
+	fi
+
 	_NUMBER="$((${_NUMBER} + 1))"
 done
 
@@ -265,6 +280,7 @@ do
 	eval _GATEWAY="$`echo _ETH${_NUMBER}_GATEWAY`"
 	eval _NETMASK="$`echo _ETH${_NUMBER}_NETMASK`"
 	eval _NETWORK="$`echo _ETH${_NUMBER}_NETWORK`"
+	eval _POST_UP="$`echo _ETH${_NUMBER}_POST_UP`"
 
 	if [ -z "${_METHOD}" ]
 	then
@@ -326,6 +342,11 @@ EOF
 			then
 				echo "	network		${_NETWORK}" >> /etc/network/interfaces.tmp
 			fi
+
+			if [ -n "${_POST_UP}" ]
+			then
+				echo "	post-up		${_POST_UP}" >> /etc/network/interfaces.tmp
+			fi
 			;;
 	esac
 
diff --git a/scripts/debconfig/0020-ifupdown.templates b/scripts/debconfig/0020-ifupdown.templates
index 1ba92e8..131dbe9 100644
--- a/scripts/debconfig/0020-ifupdown.templates
+++ b/scripts/debconfig/0020-ifupdown.templates
@@ -81,6 +81,14 @@ Description: live-debconfig: Ethernet Network Address?
  .
  This defaults to empty.
 
+Template: live-debconfig/ifupdown/eth0-post-up
+Type: string
+Default:
+Description: live-debconfig: Ethernet post-up Command?
+ What should be the post-up command for eth0?
+ .
+ This defaults to empty.
+
 Template: live-debconfig/ifupdown/nameserver-addresses
 Type: string
 Default:

-- 
live-debconfig



More information about the debian-live-changes mailing list