diff options
-rwxr-xr-x | package/base-files/files/etc/init.d/boot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot index a1e8e828dd..e1c60c1c2f 100755 --- a/package/base-files/files/etc/init.d/boot +++ b/package/base-files/files/etc/init.d/boot @@ -21,9 +21,10 @@ boot() { [ -f /proc/mounts ] || /sbin/mount_root [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc - mkdir -p /var/run - mkdir -p /var/log mkdir -p /var/lock + chmod 1777 /var/lock + mkdir -p /var/log + mkdir -p /var/run mkdir -p /var/state mkdir -p /var/tmp mkdir -p /tmp/.uci |