summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index dd8d3ecec..6078dbc46 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -30,8 +30,10 @@ prepare() {
cd /
if [ -x /sbin/cfgfs ];then
umount -f /etc
+ check_exit
fi
mount -o remount,rw /
+ check_exit
if [ "$system" == "RB532" ];then
mount -t yaffs2 /dev/mtdblock0 /boot
elif [ "$system" == "AR7130" ];then