Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 38 lines (28 sloc) 1.232 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#
# webconverger configuration file
#

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}&$(cmdline | /usr/bin/tr -s '[:space:]' '&')"
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)
Something went wrong with that request. Please try again.