summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/src')
-rw-r--r--package/base-files/src/lib/mdev/init6
-rwxr-xr-xpackage/base-files/src/sbin/adkupdate4
2 files changed, 10 insertions, 0 deletions
diff --git a/package/base-files/src/lib/mdev/init b/package/base-files/src/lib/mdev/init
index de368c80c..eec8242a1 100644
--- a/package/base-files/src/lib/mdev/init
+++ b/package/base-files/src/lib/mdev/init
@@ -14,3 +14,9 @@ if [ "$SUBSYSTEM" == "firmware" ];then
fi
fi
fi
+if [ "$SUBSYSTEM" == "pcmcia_socket" ];then
+ logger "Setting up PCMCIA socket resource database"
+ if [ "$ACTION" == "add" ];then
+ /usr/sbin/pcmcia-socket-startup
+ fi
+fi
diff --git a/package/base-files/src/sbin/adkupdate b/package/base-files/src/sbin/adkupdate
index 1af188b41..dd8d3ecec 100755
--- a/package/base-files/src/sbin/adkupdate
+++ b/package/base-files/src/sbin/adkupdate
@@ -34,6 +34,8 @@ prepare() {
mount -o remount,rw /
if [ "$system" == "RB532" ];then
mount -t yaffs2 /dev/mtdblock0 /boot
+ elif [ "$system" == "AR7130" ];then
+ mount -t yaffs2 /dev/mtdblock1 /boot
elif [ "$system" == "FOXG20" ];then
mount -t vfat /dev/mmcblk0p1 /boot
fi
@@ -89,6 +91,8 @@ if [ -x /sbin/cfgfs ];then
fi
if [ "$system" == "RB532" ];then
umount -f /boot
+elif [ "$system" == "AR7130" ];then
+ umount -f /boot
elif [ "$system" == "FOXG20" ];then
umount -f /boot
fi