Page 1 of 1

[SOLVED] RUN Command WGET-file

Posted: 27 May 2019, 06:53
by SVblue
Hello,

in my Kiosk-config I try to use:
run_command=wget http://192.168.5.80/config/index.htm -O /tmp/index.htm

After KIOSK-Startup there is no "index.htm" ind the "tmp"-Folder.
Executing this command in the shell using ssh ... it works well.

What I am doing wrong?

--- my config: ---
connection=wired
network_interface=eth0
ip_address=192.168.5.95
netmask=255.255.255.0
default_gateway=0.0.0.0
dns_server=0.0.0.0
hostname=Display-RN
browser=firefox
run_command=wget http://192.168.5.80/config/index.htm -O /tmp/index.htm
homepage=file:///tmp/index.htm
refresh_webpage=3
timezone=Europe/Berlin
primary_keyboard_layout=de
hide_mouse=5
disable_navigation_bar=yes
enable_file_protocol=yes
kiosk_config=http://192.168.5.80/config/Porteus_TB1_Info.cfg
root_password=xyz
vnc_interactive=yes
vnc_password=xyz
allow_icmp_protocol=yes
wake_on_lan=yes
additional_components=09-x11vnc.xzm uefi.zip 08-ssh.xzm 07-java.xzm 05-flash.xzm

RUN Command WGET-file

Posted: 27 May 2019, 07:31
by fanthom
Hello SVblue,

/tmp is cleared during every session start to get rid of all custom files saved there.
You need to save your file in some other location, e.g. /var/lib/storage or /opt/storage (folder must be created and must be accessible by the 'guest' user).

Thanks

RUN Command WGET-file

Posted: 28 May 2019, 13:08
by SVblue
THANKS
It works well.

I love simple solutions ;-)