vigiboard / pkg / vigilo-vigiboard.sh.in @ 0c2e8b99
History | View | Annotate | Download (419 Bytes)
1 | 8f3fca99 | Francois POIROTTE | #!/bin/sh |
---|---|---|---|
2 | d753bb3c | Francois POIROTTE | # Copyright (C) 2014-2018 CS-SI |
3 | 2bcebf54 | Francois POIROTTE | # License: GNU GPL v2 <http://www.gnu.org/licenses/gpl-2.0.html> |
4 | 8f3fca99 | Francois POIROTTE | |
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 |