aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/desktop-autoloader8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/desktop-autoloader b/bin/desktop-autoloader
index 5a3856c..7a1e056 100755
--- a/bin/desktop-autoloader
+++ b/bin/desktop-autoloader
@@ -20,12 +20,12 @@
# Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA
-DESKTOP_AUTOLOADER_ENABLE=false
+DESKTOP_AUTOLOADER_ENABLED=false
REQUIRED_MEMORY_THRESHOLD=2048
AUTOLOAD_DISPLAY=":20"
DESKTOP_SESSION_MANAGER="x-session-manager"
-DEBUG_X11VNC_ENABLE=false
+DEBUG_X11VNC_ENABLED=false
DEBUG_X11VNC_RFBPORT=5910
test -f /etc/default/desktop-autoloader && . /etc/default/desktop-autoloader
@@ -37,7 +37,7 @@ function is_true() {
}
-if ! is_true "$DESKTOP_AUTOLOADER_ENABLE"; then
+if ! is_true "$DESKTOP_AUTOLOADER_ENABLED"; then
echo "Desktop Autoloader is not enabled, enable it in /etc/default/desktop-autoloader"
exit 0
fi
@@ -76,7 +76,7 @@ XVFB_PID=$?
export DISPLAY="${AUTOLOAD_DISPLAY}"
# attach an x11vnc instance to the DISPLAY, if debugging is enabled
-if type -p x11vnc 1>/dev/null && is_true "${DEBUG_X11VNC_ENABLE}"; then
+if type -p x11vnc 1>/dev/null && is_true "${DEBUG_X11VNC_ENABLED}"; then
sleep 1
x11vnc -rfbport "${DEBUG_X11VNC_RFBPORT}" -forever -localhost &