]> git.ipfire.org Git - ipfire-2.x.git/blame - src/wio/wio
core115: Include captive portal in updater
[ipfire-2.x.git] / src / wio / wio
CommitLineData
0d6cc79d
SF
1#!/bin/bash
2#
3# Script to run wio helpers
4#
5. /var/ipfire/wio/wio.conf
6
7MINUTE=`date +%M`
8
9if [ $ENABLE == on ]; then
10
11 if [ $(($MINUTE%$CRON)) == 0 ]; then
12 /var/ipfire/wio/wio.pl > /dev/null
13 fi
14
15 if [ $OVPNRWMAIL == on ]; then
16 if [ $(($MINUTE%$OVPNCRON)) == 0 ]; then
17 /var/ipfire/wio/wiovpn.pl > /dev/null
18 fi
19 else
20 rm -f /var/log/wio/.vpncache
21 rm -f /var/log/wio/.ovpncache
22 fi
23
24fi