Updated VERSION.txt and renamed executables
This commit is contained in:
19
usr/local/bin/kiosk_viewhtml
Executable file
19
usr/local/bin/kiosk_viewhtml
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# kiosk_viewhtml
|
||||
|
||||
if [ "$1" = "" ]
|
||||
then
|
||||
"You must supply a URL as an argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source /etc/openkiosk.conf
|
||||
|
||||
if ! chromium --test-type --ignore-certificate-errors --kiosk \
|
||||
--no-first-run --check-for-update-interval=1 --simulate-upgrade \
|
||||
--incognito $1
|
||||
then
|
||||
kiosk_cleanup.sh
|
||||
xmessage -buttons "Ok:1" -center "Failed to retrieve web page."
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user