blob: a9f1892c06ef078161fff6c1d7506d53b9cc7483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
apk_add $@
# download signatures before we start daemon
freshclam
/etc/init.d/clamd start
sleep 10
pidof clamd
pidof freshclam
/etc/init.d/clamd stop
while pidof clamd; do\
echo -n "." >/dev/tty;\
sleep 1;\
done
while pidof freshclam; do\
echo -n "." >/dev/tty;\
sleep 1;\
done
apk_del -R $@
|