mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
pcmciautils: import from oldpackages
-import from oldpackages -add PKG_LICENSE, PKG_LICENSE_FILES, PKG_MAINTAINER -add two build fix patches Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
# Copyright (C) 2008 OpenWrt.org
|
||||
|
||||
START=41
|
||||
start() {
|
||||
if [ -d /sys/class/pcmcia_socket/ ]; then
|
||||
# 2.6 kernels
|
||||
cd /sys/class/pcmcia_socket/
|
||||
for PCMCIA_SOCKET in *; do
|
||||
if [ $PCMCIA_SOCKET == \* ]; then
|
||||
continue;
|
||||
fi;
|
||||
SOCKET_NO=$(echo $PCMCIA_SOCKET | cut -b14-)
|
||||
ACTION=add
|
||||
export SOCKET_NO ACTION
|
||||
/sbin/hotplug-call pcmcia_socket
|
||||
done;
|
||||
fi;
|
||||
}
|
||||
Reference in New Issue
Block a user