Magellan Linux

Contents of /trunk/usbip/poll_usbip.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 139 - (show annotations) (download) (as text)
Tue May 8 07:28:12 2007 UTC (16 years, 11 months ago) by niro
File MIME type: application/x-sh
File size: 255 byte(s)
-import of development scripts

1 #!/bin/bash
2
3
4 #client=128.20.88.88
5 #dev=1-1
6 waitt=10
7
8 while true
9 do
10 for i in /root/usbclients/*
11 do
12 client=$(basename ${i} .txt)
13 dev=$(< ${i})
14
15 echo "-- polling client ${client} on dev ${dev}"
16 usbip -a ${client} ${dev}
17 sleep $waitt
18 done
19 done
20

Properties

Name Value
svn:executable *