[SCM] debian-live branch, master, updated. 1.0_a48-1-98-gea96223

Daniel Baumann daniel at debian.org
Sat Aug 23 22:49:26 UTC 2008


The following commit has been merged in the master branch:
commit 8fa39591308a40497d4d5f0ca357181d19f35f45
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Aug 12 16:20:35 2008 +0200

    Using signal names rather than signal numbers in trap calls.

diff --git a/examples/cron/manpages.sh b/examples/cron/manpages.sh
index cd65dc4..da58d94 100755
--- a/examples/cron/manpages.sh
+++ b/examples/cron/manpages.sh
@@ -24,7 +24,7 @@ then
 fi
 
 # Creating lock trap
-trap "test -f ${SERVER}/lock && rm -f ${SERVER}/lock; exit 0" 0 1 2 3 9 15
+trap "test -f ${SERVER}/lock && rm -f ${SERVER}/lock; exit 0" 0 HUP INT QUIT KILL TERM
 
 # Creating lock file
 echo "${DATE_START}" > "${SERVER}"/lock
diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh
index 68011df..c2a82c0 100755
--- a/examples/cron/snapshots.sh
+++ b/examples/cron/snapshots.sh
@@ -36,7 +36,7 @@ then
 fi
 
 # Creating lock trap
-trap "test -f ${SERVER}/Archive-Update-in-Progress && rm -f ${SERVER}/Archive-Update-in-Progress; exit 0" 0 1 2 3 9 15
+trap "test -f ${SERVER}/Archive-Update-in-Progress && rm -f ${SERVER}/Archive-Update-in-Progress; exit 0" 0 HUP INT QUIT KILL TERM
 
 # Creating lock file
 echo "${DATE_START}" > "${SERVER}"/Archive-Update-in-Progress

-- 
debian-live



More information about the debian-live-changes mailing list