Fix default permission (#1812)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7634 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Florian Fainelli
2007-06-14 18:08:48 +00:00
parent 49420e50c4
commit c0d94efc1e

View File

@@ -51,6 +51,7 @@ rmdir /tmp/cf2nand/p1
echo "Copying filesystem..."
( cd /tmp/cf2nand/rootfs; tar c . ) | ( cd /tmp/cf2nand/p2; tar x )
echo "chmod ugo+x /" > /tmp/cf2nand/p2/etc/uci-defaults/set_root_permission
sync
umount /tmp/cf2nand/p2
rmdir /tmp/cf2nand/p2