I am sorry, but on my RPi3 that does work.
I did the following steps
With triggering it by hand:
Works.
I did the following steps
sudo /opt/piratebox/rpi/bin/usb_share.sh sudo touch -t 197001010101 /opt/piratebox/www/diskusage.html wget [127.0.0.1] -q -O -
With triggering it by hand:
Quote
sudo touch -t 197001010101 /opt/piratebox/www/diskusage.html && wget [127.0.0.1] -q -O -
OK. File last modified 633 minutes ago. Updating now...
<html><body>ok</body></html>
[alarm@alarmpi ~]$ cat /opt/piratebox/www/diskusage.html
<html><head><meta http-equiv='cache-control' content='no-cache'><meta name='GENERATOR' content='disk usage'><title>DiskUsage Data</title><body><div class='progress'><div class='progress-bar' role='progressbar' aria-valuenow='36' aria-valuemin='0' aria-valuemax='100' style='width: 36%'><span class='sr-only'>36% Full</span></div></div></body></html>[alarm@alarmpi ~]$ df
Filesystem 1K-blocks Used Available Use% Mounted on
dev 464456 0 464456 0% /dev
run 471116 312 470804 1% /run
/dev/mmcblk0p2 1929616 1412004 401544 78% /
tmpfs 471116 0 471116 0% /dev/shm
tmpfs 471116 0 471116 0% /sys/fs/cgroup
tmpfs 471116 0 471116 0% /tmp
tmpfs 94220 0 94220 0% /run/user/1000
/dev/sda1 7612888 2745304 4867584 37% /mnt/usbshare
Works.