[SCM] live-config branch, debian-old-2.0, updated. debian/2.0.11-1-1-g0353d51
Daniel Baumann
daniel at debian.org
Mon Nov 22 21:06:52 UTC 2010
The following commit has been merged in the debian-old-2.0 branch:
commit 0353d5198fc2264687088aefc777278a63135765
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Nov 22 21:52:40 2010 +0100
Adding openssh-server config script to regenerate ssh keys on boot.
diff --git a/manpages/de/live-config.de.7 b/manpages/de/live-config.de.7
index cb6404d..3b52862 100644
--- a/manpages/de/live-config.de.7
+++ b/manpages/de/live-config.de.7
@@ -11,7 +11,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-CONFIG 7 28.10.2010 2.0.11 "Debian Live Projekt"
+.TH LIVE\-CONFIG 7 22.11.2010 2.0.11 "Debian Live Projekt"
.SH NAME
\fBlive\-config\fP \- System Konfiguration Skripte
@@ -315,6 +315,8 @@ schaltet lastlog ab.
konfiguriert xserver\-xorg.
.IP "\fBureadahead\fP (nur Ubuntu)" 4
schaltet ureadahead ab.
+.IP \fBopenssh\-server\fP 4
+erstellt OpenSSH\-Server Host Schlüssel.
.IP \fBhooks\fP 4
erlaubt beliebige Kommands von einem Skript auf dem Live Medium oder von
einem HTTP/FTP Server auszuführen.
diff --git a/manpages/en/live-config.7 b/manpages/en/live-config.7
index cd40638..f794cbe 100644
--- a/manpages/en/live-config.7
+++ b/manpages/en/live-config.7
@@ -6,7 +6,7 @@
.\" under certain conditions; see COPYING for details.
.\"
.\"
-.TH LIVE\-CONFIG 7 2010\-10\-28 2.0.11 "Debian Live Project"
+.TH LIVE\-CONFIG 7 2010\-11\-22 2.0.11 "Debian Live Project"
.SH NAME
\fBlive\-config\fR \- System Configuration Scripts
@@ -213,6 +213,8 @@ disables lastlog.
configures xserver-xorg.
.IP "\fBureadahead\fR (ubuntu only)" 4
disables ureadahead.
+.IP "\fBopenssh-server\fR" 4
+recreates openssh-server host keys.
.IP "\fBhooks\fR" 4
allows to run arbitrary commands from a script placed on the live media or an http/ftp server.
diff --git a/manpages/fr/live-config.fr.7 b/manpages/fr/live-config.fr.7
index a51c19d..32f6536 100644
--- a/manpages/fr/live-config.fr.7
+++ b/manpages/fr/live-config.fr.7
@@ -11,7 +11,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-CONFIG 7 28.10.2010 2.0.11 "Projet Debian Live"
+.TH LIVE\-CONFIG 7 22.11.2010 2.0.11 "Projet Debian Live"
.SH NOM
\fBlive\-config\fP \- Scripts de configuration du système
@@ -317,6 +317,8 @@ désactive lastlog.
configure xserver\-xorg.
.IP "\fBureadahead\fP (seulement ubuntu)" 4
désactive ureadahead.
+.IP \fBopenssh\-server\fP 4
+regénère les clés SSH
.IP \fBhooks\fP 4
permet de lancer des commandes particulières depuis un script placé sur le
média live, ou sur un serveur http/ftp.
diff --git a/manpages/po/de/live-config.7.po b/manpages/po/de/live-config.7.po
index c4d6978..7edb6eb 100644
--- a/manpages/po/de/live-config.7.po
+++ b/manpages/po/de/live-config.7.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-config 2.0.11\n"
-"POT-Creation-Date: 2010-10-28 10:04+0300\n"
+"POT-Creation-Date: 2010-11-22 21:54+0100\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,8 +24,8 @@ msgstr "LIVE-CONFIG"
#. type: TH
#: en/live-config.7:9
#, no-wrap
-msgid "2010-10-28"
-msgstr "28.10.2010"
+msgid "2010-11-22"
+msgstr "22.11.2010"
#. type: TH
#: en/live-config.7:9
@@ -1284,11 +1284,22 @@ msgstr "schaltet ureadahead ab."
#. type: IP
#: en/live-config.7:216
#, no-wrap
+msgid "B<openssh-server>"
+msgstr "B<openssh-server>"
+
+#. type: Plain text
+#: en/live-config.7:218
+msgid "recreates openssh-server host keys."
+msgstr "erstellt OpenSSH-Server Host Schlüssel."
+
+#. type: IP
+#: en/live-config.7:218
+#, no-wrap
msgid "B<hooks>"
msgstr "B<hooks>"
#. type: Plain text
-#: en/live-config.7:218
+#: en/live-config.7:220
msgid ""
"allows to run arbitrary commands from a script placed on the live media or "
"an http/ftp server."
@@ -1297,77 +1308,77 @@ msgstr ""
"einem HTTP/FTP Server auszuführen."
#. type: SH
-#: en/live-config.7:219
+#: en/live-config.7:221
#, no-wrap
msgid "FILES"
msgstr "DATEIEN"
#. type: IP
-#: en/live-config.7:220
+#: en/live-config.7:222
#, no-wrap
msgid "B</etc/live/config.conf>"
msgstr "B</etc/live/config.conf>"
#. type: IP
-#: en/live-config.7:221
+#: en/live-config.7:223
#, no-wrap
msgid "B</etc/live/config.d/>"
msgstr "B</etc/live/config.d/>"
#. type: IP
-#: en/live-config.7:222
+#: en/live-config.7:224
#, no-wrap
msgid "B<live/config.conf>"
msgstr "B<live/config.conf>"
#. type: IP
-#: en/live-config.7:223
+#: en/live-config.7:225
#, no-wrap
msgid "B<live/config.d/>"
msgstr "B<live/config.d/>"
#. type: IP
-#: en/live-config.7:224
+#: en/live-config.7:226
#, no-wrap
msgid "B</lib/live/config.sh>"
msgstr "B</lib/live/config.sh>"
#. type: IP
-#: en/live-config.7:225
+#: en/live-config.7:227
#, no-wrap
msgid "B</lib/live/config/>"
msgstr "B</lib/live/config/>"
#. type: IP
-#: en/live-config.7:226
+#: en/live-config.7:228
#, no-wrap
msgid "B</var/lib/live/config/>"
msgstr "B</var/lib/live/config/>"
#. type: SH
-#: en/live-config.7:228
+#: en/live-config.7:230
#, no-wrap
msgid "SEE ALSO"
msgstr "SIEHE AUCH"
#. type: Plain text
-#: en/live-config.7:230
+#: en/live-config.7:232
msgid "I<live-boot>(7)"
msgstr "I<live-boot>(7)"
#. type: Plain text
-#: en/live-config.7:232
+#: en/live-config.7:234
msgid "I<live-build>(7)"
msgstr "I<live-build>(7)"
#. type: SH
-#: en/live-config.7:233
+#: en/live-config.7:235
#, no-wrap
msgid "HOMEPAGE"
msgstr "HOMEPAGE"
#. type: Plain text
-#: en/live-config.7:235
+#: en/live-config.7:237
msgid ""
"More information about live-config and the Debian Live project can be found "
"on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
@@ -1378,13 +1389,13 @@ msgstr ""
"unter E<lt>I<http://live.debian.net/manual/>E<gt> gefunden werden."
#. type: SH
-#: en/live-config.7:236
+#: en/live-config.7:238
#, no-wrap
msgid "BUGS"
msgstr "FEHLER"
#. type: Plain text
-#: en/live-config.7:238
+#: en/live-config.7:240
msgid ""
"Bugs can be reported by submitting a bugreport for the live-config package "
"in the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or "
@@ -1398,13 +1409,13 @@ msgstr ""
"werden."
#. type: SH
-#: en/live-config.7:239
+#: en/live-config.7:241
#, no-wrap
msgid "AUTHOR"
msgstr "AUTOR"
#. type: Plain text
-#: en/live-config.7:240
+#: en/live-config.7:242
msgid ""
"live-config was written by Daniel Baumann E<lt>I<daniel at debian.org>E<gt> for "
"the Debian project."
diff --git a/manpages/po/fr/live-config.7.po b/manpages/po/fr/live-config.7.po
index 90f78cf..a11eebd 100644
--- a/manpages/po/fr/live-config.7.po
+++ b/manpages/po/fr/live-config.7.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-config 2.0.11\n"
-"POT-Creation-Date: 2010-10-28 10:04+0300\n"
+"POT-Creation-Date: 2010-11-22 21:54+0100\n"
"PO-Revision-Date: 2010-05-24 09:59+0300\n"
"Last-Translator: Thierry Lépicier <thierry.lepicier at free.fr>\n"
"Language-Team: none\n"
@@ -24,8 +24,8 @@ msgstr "LIVE-CONFIG"
#. type: TH
#: en/live-config.7:9
#, no-wrap
-msgid "2010-10-28"
-msgstr "28.10.2010"
+msgid "2010-11-22"
+msgstr "22.11.2010"
#. type: TH
#: en/live-config.7:9
@@ -1287,11 +1287,22 @@ msgstr "désactive ureadahead."
#. type: IP
#: en/live-config.7:216
#, no-wrap
+msgid "B<openssh-server>"
+msgstr "B<openssh-server>"
+
+#. type: Plain text
+#: en/live-config.7:218
+msgid "recreates openssh-server host keys."
+msgstr "regénère les clés SSH"
+
+#. type: IP
+#: en/live-config.7:218
+#, no-wrap
msgid "B<hooks>"
msgstr "B<hooks>"
#. type: Plain text
-#: en/live-config.7:218
+#: en/live-config.7:220
msgid ""
"allows to run arbitrary commands from a script placed on the live media or "
"an http/ftp server."
@@ -1300,77 +1311,77 @@ msgstr ""
"média live, ou sur un serveur http/ftp."
#. type: SH
-#: en/live-config.7:219
+#: en/live-config.7:221
#, no-wrap
msgid "FILES"
msgstr "FICHIERS"
#. type: IP
-#: en/live-config.7:220
+#: en/live-config.7:222
#, no-wrap
msgid "B</etc/live/config.conf>"
msgstr "B</etc/live/config.conf>"
#. type: IP
-#: en/live-config.7:221
+#: en/live-config.7:223
#, no-wrap
msgid "B</etc/live/config.d/>"
msgstr "B</etc/live/config.d/>"
#. type: IP
-#: en/live-config.7:222
+#: en/live-config.7:224
#, no-wrap
msgid "B<live/config.conf>"
msgstr "B<live/config.conf>"
#. type: IP
-#: en/live-config.7:223
+#: en/live-config.7:225
#, no-wrap
msgid "B<live/config.d/>"
msgstr "B<live/config.d/>"
#. type: IP
-#: en/live-config.7:224
+#: en/live-config.7:226
#, no-wrap
msgid "B</lib/live/config.sh>"
msgstr "B</lib/live/config.sh>"
#. type: IP
-#: en/live-config.7:225
+#: en/live-config.7:227
#, no-wrap
msgid "B</lib/live/config/>"
msgstr "B</lib/live/config/>"
#. type: IP
-#: en/live-config.7:226
+#: en/live-config.7:228
#, no-wrap
msgid "B</var/lib/live/config/>"
msgstr "B</var/lib/live/config/>"
#. type: SH
-#: en/live-config.7:228
+#: en/live-config.7:230
#, no-wrap
msgid "SEE ALSO"
msgstr "VOIR AUSSI"
#. type: Plain text
-#: en/live-config.7:230
+#: en/live-config.7:232
msgid "I<live-boot>(7)"
msgstr "I<live-boot>(7)"
#. type: Plain text
-#: en/live-config.7:232
+#: en/live-config.7:234
msgid "I<live-build>(7)"
msgstr "I<live-build>(7)"
#. type: SH
-#: en/live-config.7:233
+#: en/live-config.7:235
#, no-wrap
msgid "HOMEPAGE"
msgstr "PAGE D'ACCEUIL"
#. type: Plain text
-#: en/live-config.7:235
+#: en/live-config.7:237
msgid ""
"More information about live-config and the Debian Live project can be found "
"on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
@@ -1381,13 +1392,13 @@ msgstr ""
"sur E<lt>I<http://live.debian.net/manual/>E<gt>."
#. type: SH
-#: en/live-config.7:236
+#: en/live-config.7:238
#, no-wrap
msgid "BUGS"
msgstr "BUGS"
#. type: Plain text
-#: en/live-config.7:238
+#: en/live-config.7:240
msgid ""
"Bugs can be reported by submitting a bugreport for the live-config package "
"in the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or "
@@ -1400,13 +1411,13 @@ msgstr ""
"E<lt>I<debian-live at lists.debian.org>E<gt>"
#. type: SH
-#: en/live-config.7:239
+#: en/live-config.7:241
#, no-wrap
msgid "AUTHOR"
msgstr "AUTEUR"
#. type: Plain text
-#: en/live-config.7:240
+#: en/live-config.7:242
msgid ""
"live-config was written by Daniel Baumann E<lt>I<daniel at debian.org>E<gt> for "
"the Debian project."
diff --git a/manpages/po/pt_BR/live-config.7.po b/manpages/po/pt_BR/live-config.7.po
index 7248c6c..b588a18 100644
--- a/manpages/po/pt_BR/live-config.7.po
+++ b/manpages/po/pt_BR/live-config.7.po
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-config 2.0.11\n"
-"POT-Creation-Date: 2010-10-28 10:04+0300\n"
+"POT-Creation-Date: 2010-11-22 21:54+0100\n"
"PO-Revision-Date: 2010-05-24 09:59+0300\n"
"Last-Translator: Tassia Camoes Araujo <tassia at gmail.com>\n"
"Language-Team: none\n"
@@ -23,8 +23,8 @@ msgstr "LIVE-CONFIG"
#. type: TH
#: en/live-config.7:9
#, no-wrap
-msgid "2010-10-28"
-msgstr "28-10-2010"
+msgid "2010-11-22"
+msgstr "22-11-2010"
#. type: TH
#: en/live-config.7:9
@@ -1275,11 +1275,22 @@ msgstr "desabilita ureadahead."
#. type: IP
#: en/live-config.7:216
#, no-wrap
+msgid "B<openssh-server>"
+msgstr "B<openssh-server>"
+
+#. type: Plain text
+#: en/live-config.7:218
+msgid "recreates openssh-server host keys."
+msgstr "recriar chaves do servidor openssh"
+
+#. type: IP
+#: en/live-config.7:218
+#, no-wrap
msgid "B<hooks>"
msgstr "B<hooks>"
#. type: Plain text
-#: en/live-config.7:218
+#: en/live-config.7:220
msgid ""
"allows to run arbitrary commands from a script placed on the live media or "
"an http/ftp server."
@@ -1288,77 +1299,77 @@ msgstr ""
"mídia live ou um servidor http/ftp."
#. type: SH
-#: en/live-config.7:219
+#: en/live-config.7:221
#, no-wrap
msgid "FILES"
msgstr "ARQUIVOS"
#. type: IP
-#: en/live-config.7:220
+#: en/live-config.7:222
#, no-wrap
msgid "B</etc/live/config.conf>"
msgstr "B</etc/live/config.conf>"
#. type: IP
-#: en/live-config.7:221
+#: en/live-config.7:223
#, no-wrap
msgid "B</etc/live/config.d/>"
msgstr "B</etc/live/config.d/>"
#. type: IP
-#: en/live-config.7:222
+#: en/live-config.7:224
#, no-wrap
msgid "B<live/config.conf>"
msgstr "B<live/config.conf>"
#. type: IP
-#: en/live-config.7:223
+#: en/live-config.7:225
#, no-wrap
msgid "B<live/config.d/>"
msgstr "B<live/config.d/>"
#. type: IP
-#: en/live-config.7:224
+#: en/live-config.7:226
#, no-wrap
msgid "B</lib/live/config.sh>"
msgstr "B</lib/live/config.sh>"
#. type: IP
-#: en/live-config.7:225
+#: en/live-config.7:227
#, no-wrap
msgid "B</lib/live/config/>"
msgstr "B</lib/live/config/>"
#. type: IP
-#: en/live-config.7:226
+#: en/live-config.7:228
#, no-wrap
msgid "B</var/lib/live/config/>"
msgstr "B</var/lib/live/config/>"
#. type: SH
-#: en/live-config.7:228
+#: en/live-config.7:230
#, no-wrap
msgid "SEE ALSO"
msgstr "VER TAMBÉM"
#. type: Plain text
-#: en/live-config.7:230
+#: en/live-config.7:232
msgid "I<live-boot>(7)"
msgstr "I<live-boot>(7)"
#. type: Plain text
-#: en/live-config.7:232
+#: en/live-config.7:234
msgid "I<live-build>(7)"
msgstr "I<live-build>(7)"
#. type: SH
-#: en/live-config.7:233
+#: en/live-config.7:235
#, no-wrap
msgid "HOMEPAGE"
msgstr "HOMEPAGE"
#. type: Plain text
-#: en/live-config.7:235
+#: en/live-config.7:237
msgid ""
"More information about live-config and the Debian Live project can be found "
"on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
@@ -1369,13 +1380,13 @@ msgstr ""
"disponível em E<lt>I<http://live.debian.net/manual/>E<gt>."
#. type: SH
-#: en/live-config.7:236
+#: en/live-config.7:238
#, no-wrap
msgid "BUGS"
msgstr "BUGS"
#. type: Plain text
-#: en/live-config.7:238
+#: en/live-config.7:240
msgid ""
"Bugs can be reported by submitting a bugreport for the live-config package "
"in the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or "
@@ -1388,13 +1399,13 @@ msgstr ""
"Live em E<lt>I<debian-live at lists.debian.org>E<gt>."
#. type: SH
-#: en/live-config.7:239
+#: en/live-config.7:241
#, no-wrap
msgid "AUTHOR"
msgstr "AUTOR"
#. type: Plain text
-#: en/live-config.7:240
+#: en/live-config.7:242
msgid ""
"live-config was written by Daniel Baumann E<lt>I<daniel at debian.org>E<gt> for "
"the Debian project."
diff --git a/manpages/pot/live-config.7.pot b/manpages/pot/live-config.7.pot
index 6741cdb..482a6a7 100644
--- a/manpages/pot/live-config.7.pot
+++ b/manpages/pot/live-config.7.pot
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: live-config VERSION\n"
-"POT-Creation-Date: 2010-10-28 10:04+0300\n"
+"POT-Creation-Date: 2010-11-22 21:54+0100\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,7 +25,7 @@ msgstr ""
#. type: TH
#: en/live-config.7:9
#, no-wrap
-msgid "2010-10-28"
+msgid "2010-11-22"
msgstr ""
#. type: TH
@@ -1138,88 +1138,99 @@ msgstr ""
#. type: IP
#: en/live-config.7:216
#, no-wrap
-msgid "B<hooks>"
+msgid "B<openssh-server>"
msgstr ""
#. type: Plain text
#: en/live-config.7:218
+msgid "recreates openssh-server host keys."
+msgstr ""
+
+#. type: IP
+#: en/live-config.7:218
+#, no-wrap
+msgid "B<hooks>"
+msgstr ""
+
+#. type: Plain text
+#: en/live-config.7:220
msgid ""
"allows to run arbitrary commands from a script placed on the live media or "
"an http/ftp server."
msgstr ""
#. type: SH
-#: en/live-config.7:219
+#: en/live-config.7:221
#, no-wrap
msgid "FILES"
msgstr ""
#. type: IP
-#: en/live-config.7:220
+#: en/live-config.7:222
#, no-wrap
msgid "B</etc/live/config.conf>"
msgstr ""
#. type: IP
-#: en/live-config.7:221
+#: en/live-config.7:223
#, no-wrap
msgid "B</etc/live/config.d/>"
msgstr ""
#. type: IP
-#: en/live-config.7:222
+#: en/live-config.7:224
#, no-wrap
msgid "B<live/config.conf>"
msgstr ""
#. type: IP
-#: en/live-config.7:223
+#: en/live-config.7:225
#, no-wrap
msgid "B<live/config.d/>"
msgstr ""
#. type: IP
-#: en/live-config.7:224
+#: en/live-config.7:226
#, no-wrap
msgid "B</lib/live/config.sh>"
msgstr ""
#. type: IP
-#: en/live-config.7:225
+#: en/live-config.7:227
#, no-wrap
msgid "B</lib/live/config/>"
msgstr ""
#. type: IP
-#: en/live-config.7:226
+#: en/live-config.7:228
#, no-wrap
msgid "B</var/lib/live/config/>"
msgstr ""
#. type: SH
-#: en/live-config.7:228
+#: en/live-config.7:230
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: en/live-config.7:230
+#: en/live-config.7:232
msgid "I<live-boot>(7)"
msgstr ""
#. type: Plain text
-#: en/live-config.7:232
+#: en/live-config.7:234
msgid "I<live-build>(7)"
msgstr ""
#. type: SH
-#: en/live-config.7:233
+#: en/live-config.7:235
#, no-wrap
msgid "HOMEPAGE"
msgstr ""
#. type: Plain text
-#: en/live-config.7:235
+#: en/live-config.7:237
msgid ""
"More information about live-config and the Debian Live project can be found "
"on the homepage at E<lt>I<http://live.debian.net/>E<gt> and in the manual at "
@@ -1227,13 +1238,13 @@ msgid ""
msgstr ""
#. type: SH
-#: en/live-config.7:236
+#: en/live-config.7:238
#, no-wrap
msgid "BUGS"
msgstr ""
#. type: Plain text
-#: en/live-config.7:238
+#: en/live-config.7:240
msgid ""
"Bugs can be reported by submitting a bugreport for the live-config package "
"in the Debian Bug Tracking System at E<lt>I<http://bugs.debian.org/>E<gt> or "
@@ -1242,13 +1253,13 @@ msgid ""
msgstr ""
#. type: SH
-#: en/live-config.7:239
+#: en/live-config.7:241
#, no-wrap
msgid "AUTHOR"
msgstr ""
#. type: Plain text
-#: en/live-config.7:240
+#: en/live-config.7:242
msgid ""
"live-config was written by Daniel Baumann E<lt>I<daniel at debian.org>E<gt> for "
"the Debian project."
diff --git a/manpages/pt_BR/live-config.pt_BR.7 b/manpages/pt_BR/live-config.pt_BR.7
index 636a9f7..e38a668 100644
--- a/manpages/pt_BR/live-config.pt_BR.7
+++ b/manpages/pt_BR/live-config.pt_BR.7
@@ -11,7 +11,7 @@
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH LIVE\-CONFIG 7 28\-10\-2010 2.0.11 "Projeto Debian Live"
+.TH LIVE\-CONFIG 7 22\-11\-2010 2.0.11 "Projeto Debian Live"
.SH NOME
\fBlive\-config\fP \- Scripts para Configuração do Sistema
@@ -305,6 +305,8 @@ desabilita lastlog.
configura o xserver\-xorg.
.IP "\fBureadahead\fP (apenas ubuntu)" 4
desabilita ureadahead.
+.IP \fBopenssh\-server\fP 4
+recriar chaves do servidor openssh
.IP \fBhooks\fP 4
permite executar comandos arbitrários a partir de um script localizado na
mídia live ou um servidor http/ftp.
diff --git a/scripts/config/119-openssh-server b/scripts/config/119-openssh-server
new file mode 100755
index 0000000..3f9221a
--- /dev/null
+++ b/scripts/config/119-openssh-server
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+## live-config(7) - System Configuration Scripts
+## Copyright (C) 2006-2010 Daniel Baumann <daniel at debian.org>
+##
+## live-config comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
+## This is free software, and you are welcome to redistribute it
+## under certain conditions; see COPYING for details.
+
+
+Openssh_server ()
+{
+ # Checking if package is installed or already configured
+ if [ ! -e /var/lib/dpkg/info/openssh-server.list ] || \
+ [ -e /var/lib/live/config/openssh-server ]
+ then
+ return
+ fi
+
+ echo -n " openssh-server"
+
+ Configure_openssh_server
+}
+
+Configure_openssh_server ()
+{
+ if [ ! -e /etc/ssh/ssh_host_rsa_key ]
+ then
+ ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N -t rsa
+
+ _SSH="true"
+ fi
+
+ if [ ! -e /etc/ssh/ssh_host_dsa_key ]
+ then
+ ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N -t dsa
+
+ _SSH="true"
+ fi
+
+ if [ "${_SSH}" = "true" ]
+ then
+ # Creating state file
+ touch /var/lib/live/config/openssh-server
+ fi
+}
+
+Openssh_server
--
live-config
More information about the debian-live-changes
mailing list