diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-07 18:44:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-07 18:44:10 +0100 |
commit | 5888b9a982ec425571d6129a72a63a019623f3a2 (patch) | |
tree | 71c23bb6f973be9ab24164454c552068f4897262 /package/base-files/src | |
parent | 0fd4b007237e051deb8b6ca92caa344730d9d80d (diff) |
check for cfgfs
Diffstat (limited to 'package/base-files/src')
-rwxr-xr-x | package/base-files/src/sbin/adkupdate | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate index bc1082b1c..8a97495ed 100755 --- a/package/base-files/src/sbin/adkupdate +++ b/package/base-files/src/sbin/adkupdate @@ -23,7 +23,9 @@ check_exit() { prepare() { cd / - umount -f /etc + if [ -x /sbin/cfgfs ];then + umount -f /etc + fi mount -o remount,rw / if [ "$system" == "RB532" ];then mount -t yaffs2 /dev/mtdblock0 /boot @@ -77,7 +79,9 @@ case $1 in esac sync -mount -o bind /etc /tmp/.cfgfs/root +if [ -x /sbin/cfgfs ];then + mount -o bind /etc /tmp/.cfgfs/root +fi if [ "$system" == "RB532" ];then umount -f /boot elif [ "$system" == "FOXG20" ];then |