summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authormgrooms <mgrooms@shrew.net>2009-03-15 00:31:55 +0000
committermgrooms <mgrooms@shrew.net>2009-03-15 00:39:19 +0000
commit0092b3bd47bdfa8b3bc24e140235e4693918ee46 (patch)
tree1618c52053505a6eb015e0a683fa5e95b2e1ecfc /etc/rc
parentd1d1e96136b30e0069474d8c204feca6c9e25985 (diff)
downloadpfsense-0092b3bd47bdfa8b3bc24e140235e4693918ee46.zip
pfsense-0092b3bd47bdfa8b3bc24e140235e4693918ee46.tar.gz
Modify captive portal to use centralized user management. The user manager has
been modified to include an account expiration option to support this service.
Diffstat (limited to 'etc/rc')
-rwxr-xr-xetc/rc5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index bfdda55..ef9250e 100755
--- a/etc/rc
+++ b/etc/rc
@@ -294,9 +294,12 @@ rm -f /tmp/filter_dirty
rm -f /tmp/rc.linkup
nohup /usr/bin/nice -n20 /usr/local/sbin/check_reload_status 2>/dev/null &
-# Start ping handler for every 240 seconds
+# Start ping handler every 240 seconds
minicron 240 /var/run/ping_hosts.pid /usr/local/bin/ping_hosts.sh
+# Start account expire handler every hour
+minicron 3600 /var/run/expire_accounts.pid /etc/inc/rc.exipireaccounts
+
chmod a+rw /tmp/.
echo "Bootup complete"
OpenPOWER on IntegriCloud