diff options
author | John Crispin <blogic@openwrt.org> | 2013-04-25 19:02:32 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-04-25 19:02:32 +0000 |
commit | 1940283948acad2081249eaaa5ebb663998de9ad (patch) | |
tree | 081ef59391b9859af54a286bc74b9bb533cfcb58 /package/base-files/files/etc | |
parent | b605befa7c2584d27795576ba1923e6cdaea3de6 (diff) | |
download | master-187ad058-1940283948acad2081249eaaa5ebb663998de9ad.tar.gz master-187ad058-1940283948acad2081249eaaa5ebb663998de9ad.tar.bz2 master-187ad058-1940283948acad2081249eaaa5ebb663998de9ad.zip |
mount_root: prepare base-files
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36429 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/etc')
-rwxr-xr-x | package/base-files/files/etc/init.d/done | 2 | ||||
-rwxr-xr-x | package/base-files/files/etc/rc.button/reset | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done index 8278669120..8040766dc2 100755 --- a/package/base-files/files/etc/init.d/done +++ b/package/base-files/files/etc/init.d/done @@ -5,7 +5,7 @@ START=95 boot() { [ -d /tmp/root ] && { lock /tmp/.switch2jffs - firstboot switch2jffs + switch2jffs lock -u /tmp/.switch2jffs } diff --git a/package/base-files/files/etc/rc.button/reset b/package/base-files/files/etc/rc.button/reset index 763994d075..229b503a69 100755 --- a/package/base-files/files/etc/rc.button/reset +++ b/package/base-files/files/etc/rc.button/reset @@ -14,5 +14,5 @@ then elif [ "$SEEN" -gt 5 ] then echo "FACTORY RESET" > /dev/console - firstboot && reboot & + jffs2reset -y && reboot & fi |