wok-current diff c_icap/stuff/c-icapd @ rev 18423
radiusclient-ng: rece condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 21 11:29:19 2015 +0200 (2015-09-21) |
parents | 95e0d6cca290 |
children | 7f188676b59c |
line diff
1.1 --- a/c_icap/stuff/c-icapd Thu Mar 01 07:01:35 2012 +0100 1.2 +++ b/c_icap/stuff/c-icapd Mon Sep 21 11:29:19 2015 +0200 1.3 @@ -14,6 +14,7 @@ 1.4 OPTIONS="" 1.5 PIDFILE=/var/run/c-icap/c-icap.pid 1.6 1.7 +[ -d /var/run/c-icap ] || mkdir -p /var/run/c-icap 1.8 case "$1" in 1.9 start) 1.10 if active_pidfile $PIDFILE $NAME ; then