diff options
| author | Jonathan Bauer | 2015-06-05 16:45:17 +0200 |
|---|---|---|
| committer | root | 2015-06-05 16:45:17 +0200 |
| commit | 83d9ebc9b7684a05325cd3e912d729883c4fb16a (patch) | |
| tree | 4f19ed007aa599db50ffc3e2c76a82c907d01671 /remote/modules/firefox | |
| parent | [pvs2] don't start pvsclient if we are running the pvsmgr session (diff) | |
| download | tm-scripts-83d9ebc9b7684a05325cd3e912d729883c4fb16a.tar.gz tm-scripts-83d9ebc9b7684a05325cd3e912d729883c4fb16a.tar.xz tm-scripts-83d9ebc9b7684a05325cd3e912d729883c4fb16a.zip | |
[safe-mode/firefox] e-klausur demo modules
Diffstat (limited to 'remote/modules/firefox')
| -rwxr-xr-x | remote/modules/firefox/data/opt/openslx/scripts/firefox-session | 6 | ||||
| -rwxr-xr-x | remote/modules/firefox/data/usr/share/xsessions/firefox.desktop | 6 | ||||
| -rw-r--r-- | remote/modules/firefox/module.build | 15 | ||||
| -rw-r--r-- | remote/modules/firefox/module.conf | 6 | ||||
| -rw-r--r-- | remote/modules/firefox/module.conf.ubuntu | 2 |
5 files changed, 35 insertions, 0 deletions
diff --git a/remote/modules/firefox/data/opt/openslx/scripts/firefox-session b/remote/modules/firefox/data/opt/openslx/scripts/firefox-session new file mode 100755 index 00000000..1c8d5590 --- /dev/null +++ b/remote/modules/firefox/data/opt/openslx/scripts/firefox-session @@ -0,0 +1,6 @@ +#!/bin/ash + +. /opt/openslx/config + +openbox & +exec /usr/bin/firefox --new-window "$SLX_BROWSER_START_URL" -fullscreen diff --git a/remote/modules/firefox/data/usr/share/xsessions/firefox.desktop b/remote/modules/firefox/data/usr/share/xsessions/firefox.desktop new file mode 100755 index 00000000..c639f9ae --- /dev/null +++ b/remote/modules/firefox/data/usr/share/xsessions/firefox.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Firefox +Exec=/opt/openslx/scripts/firefox-session +Icon= +Type=Application diff --git a/remote/modules/firefox/module.build b/remote/modules/firefox/module.build new file mode 100644 index 00000000..bd2e4624 --- /dev/null +++ b/remote/modules/firefox/module.build @@ -0,0 +1,15 @@ +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" +} + +post_copy() { + : +} diff --git a/remote/modules/firefox/module.conf b/remote/modules/firefox/module.conf new file mode 100644 index 00000000..0718324f --- /dev/null +++ b/remote/modules/firefox/module.conf @@ -0,0 +1,6 @@ +REQUIRED_BINARIES=" + firefox +" +REQUIRED_DIRECTORIES=" + / +" diff --git a/remote/modules/firefox/module.conf.ubuntu b/remote/modules/firefox/module.conf.ubuntu new file mode 100644 index 00000000..45f7e899 --- /dev/null +++ b/remote/modules/firefox/module.conf.ubuntu @@ -0,0 +1,2 @@ +REQUIRED_INSTALLED_PACKAGES="firefox" +REQUIRED_CONTENT_PACKAGES="firefox" |
