lsb 3.0-12 Debian release.
authorChris Lawrence <lawrencc@debian.org>
Wed, 30 Nov 2005 04:01:38 +0000 (23:01 -0500)
committerDidier Raboud <odyx@debian.org>
Wed, 30 Nov 2005 04:01:38 +0000 (23:01 -0500)
debian/changelog
debian/po/sv.po [new file with mode: 0644]
init-functions
init-skeleton

index 4e13aa910c8b2c98e079dcc2790b979dab9ae89c..63ed72b55c2f57c76eba8d0379c0bff228f4b0bb 100644 (file)
@@ -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 <lawrencc@debian.org>  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 (file)
index 0000000..504c68b
--- /dev/null
@@ -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 <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\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."
+
index 22b41adb2b09bc74d42d7e5d34f82e8f8016c911..f788b7e6f90892b188d8e763bc8ad270f38a8640 100644 (file)
@@ -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 () {
index b68321900192ea5096cb801db24c5a002f97e197..27714a8bc62f60beabeb31863588a41e7ea35695 100644 (file)
@@ -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