rm indexcache when stopping lucid

This commit is contained in:
Bart Van Der Meerssche 2010-09-29 14:34:23 +02:00
parent 1fb8df8e8b
commit aaf1d86028
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ set -e
start() {
echo -n "Starting $DESC: $NAME"
[ -e /tmp/luci-indexcache ] && rm /tmp/luci-indexcache
lua -lluci.lucid -e 'luci.lucid.start()'
echo "."
}
@ -16,6 +17,7 @@ start() {
stop() {
echo -n "Stopping $DESC: $NAME"
lua -lluci.lucid -e 'luci.lucid.stop()'
[ -e /tmp/luci-indexcache ] && rm /tmp/luci-indexcache
echo "."
}