From 17fdcb8dc3d9b9f5fb75382207c79387e8ff88ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 2 Feb 2010 23:28:25 +0000 Subject: Ticket #317. Synchronize user info on bootup. --- etc/rc.bootup | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'etc/rc.bootup') diff --git a/etc/rc.bootup b/etc/rc.bootup index 794a17e..4790270 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -218,9 +218,14 @@ echo "done.\n"; /* start load balancer daemon */ relayd_configure(); - /* reconfigure our gateway monitor */ +/* reconfigure our gateway monitor */ echo "Setting up gateway monitors..."; - setup_gateways_monitor(); +setup_gateways_monitor(); +echo "done.\n"; + +echo "Synchronizing user settings..."; +if (!isset($config['system']['webgui']['backend'])) + local_sync_accounts(); echo "done.\n"; /* start OpenVPN server & clients */ @@ -372,4 +377,4 @@ unset($g['booting']); led_normalize(); -?> \ No newline at end of file +?> -- cgit v1.1