summaryrefslogtreecommitdiff
path: root/package/base-files/files/etc/init.d/boot
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-03 06:48:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-03 06:48:15 +0000
commit0cf1a58282bacda7552d294e0f99562ece74cf22 (patch)
treef1c533f73a26f5da018025fae277a27c84ecdfc0 /package/base-files/files/etc/init.d/boot
parent32f2870131750e44e5a73f6255f077cddca2bca1 (diff)
downloadmtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.zip
mtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.gz
mtk-20170518-0cf1a58282bacda7552d294e0f99562ece74cf22.tar.bz2
Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
Diffstat (limited to 'package/base-files/files/etc/init.d/boot')
-rwxr-xr-xpackage/base-files/files/etc/init.d/boot2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot
index b524c39..0b77447 100755
--- a/package/base-files/files/etc/init.d/boot
+++ b/package/base-files/files/etc/init.d/boot
@@ -36,6 +36,8 @@ start() {
mkdir -p /var/log
mkdir -p /var/lock
mkdir -p /var/state
+ mkdir -p /tmp/.uci
+ chown 0700 /tmp/.uci
touch /var/log/wtmp
touch /var/log/lastlog
ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf