Bash code comment clarification
This commit is contained in:
parent
1ef62a2da9
commit
601575e1c0
2 changed files with 10 additions and 8 deletions
|
@ -8,7 +8,6 @@
|
|||
# note log contains a weeks worth of hourly bandwidth logs and we need the most recent
|
||||
# only
|
||||
|
||||
vndat=`cat /var/log/openwrt.log | grep "root: dom" | tail -n 1`;
|
||||
vndat=`cat /var/log/openwrt.log | grep "root: dom" | tail -n 1`; # Depending on your setup your log file name might be different
|
||||
|
||||
echo "$vndat" > /var/www/html/bnd.dat;
|
||||
# echo "$vndat";
|
||||
echo "$vndat" > /var/www/html/bnd.dat; # your web root may differ
|
Loading…
Add table
Add a link
Reference in a new issue