vigiboard / pkg / vigilo-vigiboard.sh.in @ 789d33b0
History | View | Annotate | Download (322 Bytes)
1 | 8f3fca99 | Francois POIROTTE | #!/bin/sh |
---|---|---|---|
2 | |||
3 | ACK=-1 |
||
4 | ACK_OPTIONS="-uk" |
||
5 | PURGE=-1 |
||
6 | PURGE_OPTIONS="" |
||
7 | |||
8 | if [ -f '@INITCONFDIR@/vigilo-vigiboard' ]; then |
||
9 | . '@INITCONFDIR@/vigilo-vigiboard' |
||
10 | fi |
||
11 | |||
12 | if [ "$ACK" -gt -1 ]; then |
||
13 | @BINDIR@/vigiboard-close $ACK_OPTIONS -d $ACK |
||
14 | fi |
||
15 | |||
16 | if [ "$PURGE" -gt -1 ]; then |
||
17 | @BINDIR@/vigiboard-purge $PURGE_OPTIONS -d $PURGE |
||
18 | fi |