You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
372 B

  1. #!/bin/sh
  2. # Copyright (C) 2008 OpenWrt.org
  3. case "$ACTION" in
  4. add)
  5. echo PCMCIA: socket number: $SOCKET_NO
  6. sleep 1;
  7. /usr/sbin/pcmcia-socket-startup $SOCKET_NO
  8. DONE_FILE=/sys/class/pcmcia_socket/pcmcia_socket$SOCKET_NO/available_resources_setup_done
  9. if [ -f $DONE_FILE ]; then
  10. if [ -w $DONE_FILE ]; then
  11. echo -n "42" > $DONE_FILE
  12. fi;
  13. fi;
  14. ;;
  15. esac