wok-stable diff boxbackup-client/stuff/bbackupd @ rev 11386
Compat: ensure that pam WGET_URL is non-https. Otherwise tazwok can't download it at cook-toolchain time
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 04:42:49 2011 +0100 (2011-12-10) |
parents | 14003687d2b8 |
children | e99b372b0465 |
line diff
1.1 --- a/boxbackup-client/stuff/bbackupd Tue Sep 09 22:18:22 2008 +0200 1.2 +++ b/boxbackup-client/stuff/bbackupd Sat Dec 10 04:42:49 2011 +0100 1.3 @@ -31,6 +31,7 @@ 1.4 fi 1.5 echo -n "Stopping $DESC: $NAME... " 1.6 kill `cat $PIDFILE` 1.7 + rm -f $PIDFILE 1.8 status 1.9 ;; 1.10 restart) 1.11 @@ -40,6 +41,7 @@ 1.12 fi 1.13 echo -n "Restarting $DESC: $NAME... " 1.14 kill `cat $PIDFILE` 1.15 + rm -f $PIDFILE 1.16 sleep 2 1.17 $DAEMON $OPTIONS > /dev/null 1.18 status