summaryrefslogtreecommitdiff
path: root/openwrt/package/base-files/default/sbin
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 18:28:33 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-09-10 18:28:33 +0000
commit2bd018b167ffd850c9ff55fa002cca3b4da2f501 (patch)
tree6ae11ee54717b18a79bef4002784907ffefd6a82 /openwrt/package/base-files/default/sbin
parentec466e8b25c3a0e6dabc9ebcfa80e76c2d1eacfc (diff)
downloadmtk-20170518-2bd018b167ffd850c9ff55fa002cca3b4da2f501.zip
mtk-20170518-2bd018b167ffd850c9ff55fa002cca3b4da2f501.tar.gz
mtk-20170518-2bd018b167ffd850c9ff55fa002cca3b4da2f501.tar.bz2
add nvram.sh to all startup scripts, no errors on wgt634u
SVN-Revision: 1892
Diffstat (limited to 'openwrt/package/base-files/default/sbin')
-rwxr-xr-xopenwrt/package/base-files/default/sbin/mount_root1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/package/base-files/default/sbin/mount_root b/openwrt/package/base-files/default/sbin/mount_root
index 29c5126..ae78ee4 100755
--- a/openwrt/package/base-files/default/sbin/mount_root
+++ b/openwrt/package/base-files/default/sbin/mount_root
@@ -1,4 +1,5 @@
#!/bin/sh
+. /etc/nvram.sh
if [ "$1" != "failsafe" ]; then
mount | grep jffs2 >&-
if [ $? = 0 ] ; then