summaryrefslogtreecommitdiff
path: root/package/base-files/src/sbin
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:10:51 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:10:51 +0200
commit94fe75948093692f2e79e9ec07bc17ae88ab9844 (patch)
treeb95c2f81dfb8abaec54ba1c7747a980c988d71d3 /package/base-files/src/sbin
parent957bb3959c18f96c9ac1c7553e897bbbd95f0d51 (diff)
fix problem with adkupdate, reported by Tobias
Diffstat (limited to 'package/base-files/src/sbin')
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 3de759c74..619faf04f 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -29,8 +29,9 @@ check_exit() {
prepare() {
cd /
if [ -x /sbin/cfgfs ];then
- pkill crond
- umount -f /etc
+ mount -o bind /tmp/.cfgfs/root /etc
+ check_exit
+ mount -o remount,rw /etc
check_exit
fi
mount -o remount,rw /
@@ -90,7 +91,7 @@ esac
sync
if [ -x /sbin/cfgfs ];then
- mount -o bind /etc /tmp/.cfgfs/root
+ umount /etc
fi
if [ "$system" == "RB532" ];then
umount -f /boot