summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-02 15:53:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-02 15:53:24 +0200
commitd8c7316c1694601eba73f02e4ce8507873bd1bb8 (patch)
tree2471316ed3b25cfeb1af61d7d7a67a8e65e9b865 /package
parent489d5453e0ed06d3567b39afb481e55a29ab7f88 (diff)
check exit code
Diffstat (limited to 'package')
-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