Replace all _ with / in mountpoint.

This commit is contained in:
hjp 2006-08-14 08:14:03 +00:00
parent 14352801e4
commit 3836ca8c1c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ find /usr/local/dfstat/quotacheck-timestamps -type f -name '*:*:*' -print | sed
while read user mount_t data while read user mount_t data
do do
g="/usr/local/dfstat/quotacheck-graphs/$user${mount_t}_$data.png" g="/usr/local/dfstat/quotacheck-graphs/$user${mount_t}_$data.png"
mount=`echo $mount_t | sed -e 's/_/\//'` mount=`echo $mount_t | sed -e 's/_/\//g'`
"/usr/local/dfstat/quotagraph" "--fs=$mount" "--user=$user" "--data=$data" /usr/local/dfstat/quota.stat.????-?? > "$g" "/usr/local/dfstat/quotagraph" "--fs=$mount" "--user=$user" "--data=$data" /usr/local/dfstat/quota.stat.????-?? > "$g"
@@@scp@@@ "$g" \ @@@scp@@@ "$g" \
"intra.wsr.ac.at:/usr/local/www/intra/informationssysteme/quotas/$user${mount_t}_$data.png" "intra.wsr.ac.at:/usr/local/www/intra/informationssysteme/quotas/$user${mount_t}_$data.png"