summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/rl-system.init5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index 19c9a540..5c8ba7a6 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -191,8 +191,9 @@ security_reset () {
}
start () {
- mkdir -p /var/run/vyatta
- mkdir -p /var/log/vyatta
+ mkdir -p /var/run/vyatta /var/log/vyatta
+ chgrp vyattacfg /var/run/vyatta /var/log/vyatta
+ chmod 775 /var/run/vyatta /var/log/vyatta
update_interface_config
create_ssh_host_keys || \