Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (29 sloc) 1.259 kB
#
# webconverger configuration file
#
live_image=/lib/live/mount/medium
git_repo=${live_image}/live/filesystem.git
current_git_revision=$(cat /.git-fs-commit-id)
webc_id=$( cat /etc/webc/id 2>/dev/null || echo "unknown-uuid" )
webc_version=$( git --git-dir $git_repo describe --always "${current_git_revision}" 2>/dev/null || echo 12.3 )
# Default location for system wide preferences
prefs=/opt/firefox/browser/defaults/preferences/webc-boot.js
# Default location for Webconverger extension
link='/opt/firefox/browser/extensions/kiosk@webconverger.com'
install_base_url="https://config.webconverger.com/clients"
install_qa_url="${install_base_url}/?v=${webc_version}&id=${webc_id}&chrome=$(cmdline_get chrome)"
config_url="${install_base_url}/install-config/${webc_id}"
# triggers live-config.sh - this gets config from config.webconverger.com
live_config_pipe="/tmp/live-config.pipe" # needs to be writable by xinitrc
# triggering upgrade.sh from live-config.sh atm
upgrade_pipe="/tmp/upgrade.pipe"
config_runtime="/etc/webc/cmdline"
config_cached="${live_image}/live/webc-cmdline"
device=$( df 2>/dev/null | grep ${live_image} | awk '{ print $1 }' )
if touch ${live_image}
then
device="$device-rw"
else
device="$device-ro"
fi
kernel=$(uname -r)
Jump to Line
Something went wrong with that request. Please try again.