summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/conf_mode/system-login.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/system-login.py b/src/conf_mode/system-login.py
index aba10689d..ceca0a14b 100755
--- a/src/conf_mode/system-login.py
+++ b/src/conf_mode/system-login.py
@@ -311,6 +311,9 @@ def apply(login):
except Exception as e:
raise ConfigError(f'RADIUS configuration failed: {e}')
+ # sync user data files to disk
+ os.sync()
+
return None