summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os-plugins/plugins/x11vnc/XX_x11vnc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/os-plugins/plugins/x11vnc/XX_x11vnc.sh b/os-plugins/plugins/x11vnc/XX_x11vnc.sh
index 75346cd8..0f076914 100644
--- a/os-plugins/plugins/x11vnc/XX_x11vnc.sh
+++ b/os-plugins/plugins/x11vnc/XX_x11vnc.sh
@@ -43,7 +43,7 @@ if [ -e /initramfs/plugin-conf/x11vnc.conf ]; then
if [ $x11vnc_active -ne 0 ]; then
[ $DEBUGLEVEL -gt 0 ] && echo "executing the 'x11vnc' os-plugin ...";
# configure x11vnc user mode or framebuffer
- if [ "$x11vnc_mode" = "x11user" || "$x11vnc_mode" = "fb" ] ; then
+ if [ "$x11vnc_mode" = "x11user" -o "$x11vnc_mode" = "fb" ] ; then
# create config dir for stage 3
mkdir -p /mnt/etc/x11vnc
# default parameters