vigiboard / pkg / vigilo-vigiboard.sh.in @ e30a2449
History | View | Annotate | Download (419 Bytes)
1 |
#!/bin/sh |
---|---|
2 |
# Copyright (C) 2014-2016 CS-SI |
3 |
# License: GNU GPL v2 <http://www.gnu.org/licenses/gpl-2.0.html> |
4 |
|
5 |
ACK=-1 |
6 |
ACK_OPTIONS="-uk" |
7 |
PURGE=-1 |
8 |
PURGE_OPTIONS="" |
9 |
|
10 |
if [ -f '@INITCONFDIR@/vigilo-vigiboard' ]; then |
11 |
. '@INITCONFDIR@/vigilo-vigiboard' |
12 |
fi |
13 |
|
14 |
if [ "$ACK" -gt -1 ]; then |
15 |
@BINDIR@/vigiboard-close $ACK_OPTIONS -d $ACK |
16 |
fi |
17 |
|
18 |
if [ "$PURGE" -gt -1 ]; then |
19 |
@BINDIR@/vigiboard-purge $PURGE_OPTIONS -d $PURGE |
20 |
fi |