wio: moved files from src/wio directory to standard IPFire location

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
This commit is contained in:
Adolf Belka
2023-04-05 14:28:32 +02:00
committed by Peter Müller
parent 1ee6f37fb4
commit b1584da093
4 changed files with 0 additions and 0 deletions

24
config/wio/wio Normal file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
#
# Script to run wio helpers
#
. /var/ipfire/wio/wio.conf
MINUTE=`date +%M`
if [ $ENABLE == on ]; then
if [ $(($MINUTE%$CRON)) == 0 ]; then
/var/ipfire/wio/wio.pl > /dev/null
fi
if [ $OVPNRWMAIL == on ]; then
if [ $(($MINUTE%$OVPNCRON)) == 0 ]; then
/var/ipfire/wio/wiovpn.pl > /dev/null
fi
else
rm -f /var/log/wio/.vpncache
rm -f /var/log/wio/.ovpncache
fi
fi