diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-10 18:29:50 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-10 18:29:50 +0100 |
commit | c0011b3b7074f8b47cbec36177eff42b18871d4d (patch) | |
tree | 8bedce53f4bee4d288fdca28352fb6bff85dfc7f /package/base-files | |
parent | e04d6dc7eff54a2b851b65dd6cbcc78b8f573f64 (diff) | |
parent | 3d2e9517d920b88abde391b59ca0069351be3a87 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files')
-rw-r--r-- | package/base-files/src/lib/mdev/init | 5 | ||||
-rwxr-xr-x | package/base-files/src/sbin/adkupdate | 8 |
2 files changed, 6 insertions, 7 deletions
diff --git a/package/base-files/src/lib/mdev/init b/package/base-files/src/lib/mdev/init index d2ae13e9c..de368c80c 100644 --- a/package/base-files/src/lib/mdev/init +++ b/package/base-files/src/lib/mdev/init @@ -1,9 +1,4 @@ #!/bin/sh -if [ "$ACTION" == "add" ];then - if [ "$DEVPATH" == "/bus/usb" ];then - mount -t usbfs usbfs /proc/bus/usb - fi -fi if [ "$SUBSYSTEM" == "firmware" ];then logger "Firmware load for $FIRMWARE requested" if [ "$ACTION" == "add" ];then 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 |