summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-07 11:54:06 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit3011e355940c5dc9a0d076e5bfe30c0e8c254f30 (patch)
tree142137cbbb4cc90db76af4eabddd225137a4f6a2
parentb9ce5eded0a91c6b3d0a3ffd47a97d11d7ec9d6a (diff)
downloadvyos-live-build-3011e355940c5dc9a0d076e5bfe30c0e8c254f30.tar.gz
vyos-live-build-3011e355940c5dc9a0d076e5bfe30c0e8c254f30.zip
Updating function reading in the cgi.
-rwxr-xr-xcgi/cron7
1 files changed, 1 insertions, 6 deletions
diff --git a/cgi/cron b/cgi/cron
index 8203ae8b1..e5a750c2d 100755
--- a/cgi/cron
+++ b/cgi/cron
@@ -8,12 +8,7 @@
# under certain conditions; see COPYING for details.
# Including common functions
-LH_BASE="${LH_BASE:-/usr/share/live-helper}"
-
-for _FUNCTION in "${LH_BASE}"/functions/*.sh
-do
- . "${_FUNCTION}"
-done
+. "${LH_BASE:-/usr/share/live-helper}"/live-helper.sh
# Reading defaults
if [ -r /etc/default/live-webhelper ]