summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2010-06-25 13:59:55 -0500
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:13 +0100
commit04489e6b9f079e7b688a2f26c707d8bb4e2ed66d (patch)
tree87dbce83413d57d34271b7195715eef06be940c7
parentbb33608ee8161e0f797340ec9b792603c34cefed (diff)
downloadvyos-live-build-04489e6b9f079e7b688a2f26c707d8bb4e2ed66d.tar.gz
vyos-live-build-04489e6b9f079e7b688a2f26c707d8bb4e2ed66d.zip
Add VERSION information and source in common live-helper common functions.
-rwxr-xr-xcgi/cgi3
-rw-r--r--templates/cgi/debian-official/form.html2
-rw-r--r--templates/cgi/debian-unofficial/form.html2
3 files changed, 7 insertions, 0 deletions
diff --git a/cgi/cgi b/cgi/cgi
index f02e2130d..1e127b8b5 100755
--- a/cgi/cgi
+++ b/cgi/cgi
@@ -7,6 +7,9 @@
# This is free software, and you are welcome to redistribute it
# under certain conditions; see COPYING for details.
+# Including common functions
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
+
# Reading defaults
if [ -r /etc/default/live-helper.cgi ]
then
diff --git a/templates/cgi/debian-official/form.html b/templates/cgi/debian-official/form.html
index 3c4b8eb20..099a9fa01 100644
--- a/templates/cgi/debian-official/form.html
+++ b/templates/cgi/debian-official/form.html
@@ -326,5 +326,7 @@
<input type="reset" value="Reset" />
&nbsp;
<input type="submit" value="Submit" />
+&nbsp;
+Version: VERSION
</form>
diff --git a/templates/cgi/debian-unofficial/form.html b/templates/cgi/debian-unofficial/form.html
index 0ed6cc3d6..58516ee57 100644
--- a/templates/cgi/debian-unofficial/form.html
+++ b/templates/cgi/debian-unofficial/form.html
@@ -346,5 +346,7 @@
<input type="reset" value="Reset" />
&nbsp;
<input type="submit" value="Submit" />
+&nbsp;
+Version: VERSION
</form>