Skript-Schnipsel

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 21:57, 29 July 2005 (edit)
213.139.154.67 (Talk)
(Erweitertes Script mit Hostnamen)
← Previous diff
Revision as of 23:10, 29 July 2005 (edit) (undo)
213.139.154.67 (Talk)
(Erweitertes Script mit Hostnamen)
Next diff →
Line 156: Line 156:
<pre> <pre>
# mkdir -p /tmp/www # mkdir -p /tmp/www
 + while [ 1 ];
 + do
wl assoclist | awk '{print$2}' > /tmp/assocLIST wl assoclist | awk '{print$2}' > /tmp/assocLIST
echo "<b>IPs and hostnames of WLAN clients</b> <p>" > /tmp/www/wlan.html echo "<b>IPs and hostnames of WLAN clients</b> <p>" > /tmp/www/wlan.html
Line 163: Line 165:
# echo "<p>"; # echo "<p>";
done < /tmp/assocLIST # >> /tmp/www/wlan.html done < /tmp/assocLIST # >> /tmp/www/wlan.html
 + sleep 10;
 + done;
</pre> </pre>

Revision as of 23:10, 29 July 2005