Create /var/lock/subsys if it not exist

This commit is contained in:
Arne Fitzenreiter
2008-10-09 22:44:21 +02:00
parent 6e9d800f23
commit b466eef122

View File

@@ -22,6 +22,9 @@ case "$1" in
#
# create some folders
#
if [ ! -e /var/lock/subsys ]; then
mkdir -p /var/lock/subsys
fi
if [ ! -e /var/run/clamav ]; then
mkdir -p /var/run/clamav
chown clamav:clamav /var/run/clamav