From 0fa4a18bd687ddf87ef95f691607ac5315da1f09 Mon Sep 17 00:00:00 2001 From: Chris Lawrence Date: Tue, 29 Nov 2005 23:01:38 -0500 Subject: [PATCH] lsb 3.0-12 Debian release. --- debian/changelog | 9 ++++++ debian/po/sv.po | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ init-functions | 6 ++-- init-skeleton | 4 +-- 4 files changed, 87 insertions(+), 4 deletions(-) create mode 100644 debian/po/sv.po diff --git a/debian/changelog b/debian/changelog index 4e13aa9..63ed72b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +lsb (3.0-12) unstable; urgency=low + + * Remove the pidfile in killproc(). (Closes: #321271) + * Declare $i local where it was previously omitted. (Closes: #340667) + * Fix syntax errors in init-skeleton. (Closes: #302009) + * Add sv.po. (Closes: #333595) + + -- Chris Lawrence Tue, 29 Nov 2005 23:01:38 -0500 + lsb (3.0-11) unstable; urgency=low * Use the basename in killproc when calling start-stop-daemon. diff --git a/debian/po/sv.po b/debian/po/sv.po new file mode 100644 index 0000000..504c68b --- /dev/null +++ b/debian/po/sv.po @@ -0,0 +1,72 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: lsb 3.0-9\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2003-03-30 12:40-0300\n" +"PO-Revision-Date: 2005-10-13 23:09+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit" + +#. Description +#: ../templates:4 +msgid "Should shadow passwords be enabled?" +msgstr "Ska shadow-lösenord aktiveras?" + +#. Description +#: ../templates:4 +msgid "" +"The Linux Standard Base requires that certain features of adduser(8) be " +"available to conforming applications (such as password aging). Debian only " +"provides these features when shadow passwords are enabled; however, your " +"system currently has shadow passwords disabled." +msgstr "" +"Linux Standard Base kräver att vissa funktioner av adduser(8) ska vara tillgängliga " +"till anpassade applikationer (såsom ålder för lösenord). Debian erbjuder dessa funktioner " +"om shadow-lösenord är aktiverade, men ditt system har för närvarande inte shadow-lösenord aktiverade." + +#. Description +#: ../templates:4 +#, no-c-format +msgid "" +"Most LSB applications will work fine with either setting, but 100% " +"conformance requires shadow passwords to be enabled." +msgstr "" +"De flesta LSB-applikationer fungerar fint med båda inställningarna men 100% " +"anpassning kräver att shadow-lösenord ska aktiveras." + +#. Description +#: ../templates:4 +msgid "" +"Generally speaking, it is considered good practice to enable shadow " +"passwords. However, there are some situations in which shadow passwords may " +"not work properly (most notably, if non-root users need to authenticate " +"passwords against /etc/passwd)." +msgstr "" +"Generellt sett är det ansett som bra tänkt att aktivera shadow-lösenord. Men det finns " +"de situationer som shadow-lösenord kanske inte fungerar som det ska (till exempel om icke-root " +"användare behöver autentisera lösenord mot /etc/passwd)." + +#. Description +#: ../templates:4 +msgid "" +"If you answer in the affirmative, the command 'shadowconfig on' will be run " +"to enable shadow passwords." +msgstr "" +"Om du svarar ja kommer kommandot 'shadowconfig on' att köras för att " +"aktivera shadow-lösenord." + diff --git a/init-functions b/init-functions index 22b41ad..f788b7e 100644 --- a/init-functions +++ b/init-functions @@ -28,7 +28,7 @@ #SUCH DAMAGE. start_daemon () { - local force nice pidfile exec + local force nice pidfile exec i set -- `POSIXLY_CORRECT=1 getopt "fn:p:" $*` force=0 nice=0 @@ -94,7 +94,7 @@ pidofproc () { # start-stop-daemon uses the same algorithm as "pidofproc" above. killproc () { - local pidfile sig status base + local pidfile sig status base i set -- `POSIXLY_CORRECT=1 getopt "p:" $*` pidfile= @@ -120,6 +120,8 @@ killproc () { else /sbin/start-stop-daemon --stop --pidfile "$pidfile" --retry 5 --quiet --oknodo --name "$base" fi + + rm -f "$pidfile" } log_use_fancy_output () { diff --git a/init-skeleton b/init-skeleton index b683219..27714a8 100644 --- a/init-skeleton +++ b/init-skeleton @@ -127,7 +127,7 @@ case "$1" in # LSB exit status start_daemon "$FOO_BIN" -c "$FOO_CONFIG" STATUS=$? - if [ "$STATUS" = 0] + if [ "$STATUS" = 0 ] then log_success_msg "Starting FOO" else @@ -141,7 +141,7 @@ case "$1" in # LSB exit status killproc "$FOO_BIN" STATUS=$? - if [ "$STATUS" = 0] + if [ "$STATUS" = 0 ] log_success_msg "Shutting down FOO" exit 0 else -- 2.30.2