summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:20:33 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-05-19 19:20:33 +0200
commitf377469cd7524e091725d40b00628249220f66ff (patch)
treeee2e58617401ac0f5ade434bc52e916d20a0a672 /package/base-files
parente8ca169ae2dcbbf86320f93de493de7c2cf1c1cc (diff)
parent6e9a16f9deab677b03a6415ab9a06a689ee40e13 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate7
2 files changed, 5 insertions, 4 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 3744ceb53..a1cf05491 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 44
+PKG_RELEASE:= 45
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
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