summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-12 20:22:07 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-03-12 20:22:07 -0800
commit47e3b415c8f3d4544ccc62755369985ca70d6c5f (patch)
tree2be8b2f1bfef9e6fee319f1fb6bb33fb7d29ba84 /scripts
parent6fe527c6eeb347eec349e3dd2bd25ef4054da65d (diff)
downloadvyatta-cfg-system-47e3b415c8f3d4544ccc62755369985ca70d6c5f.tar.gz
vyatta-cfg-system-47e3b415c8f3d4544ccc62755369985ca70d6c5f.zip
Make /var/run/vyatta and /var/log/vyatta
Other scripts depend on these directories
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rl-system.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/rl-system.init b/scripts/rl-system.init
index e901e060..607bbb45 100755
--- a/scripts/rl-system.init
+++ b/scripts/rl-system.init
@@ -183,6 +183,9 @@ security_reset () {
}
start () {
+ mkdir -p /var/run/vyatta
+ mkdir -p /var/log/vyatta
+
udev_rescan
create_ssh_host_keys || \
log_failure_msg "can't initialize ssh host keys"