diff options
Diffstat (limited to 'os-plugins/plugins/x11vnc/XX_x11vnc.sh')
-rw-r--r-- | os-plugins/plugins/x11vnc/XX_x11vnc.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/os-plugins/plugins/x11vnc/XX_x11vnc.sh b/os-plugins/plugins/x11vnc/XX_x11vnc.sh index 35245aef..2b640885 100644 --- a/os-plugins/plugins/x11vnc/XX_x11vnc.sh +++ b/os-plugins/plugins/x11vnc/XX_x11vnc.sh @@ -1,5 +1,8 @@ #! /bin/sh # +[ -e /etc/functions ] && . /etc/functions +[ -e /etc/distro-functions ] && . /etc/distro-functions +[ -e /etc/sysconfig/config ] && . /etc/sysconfig/config if [ -e /initramfs/plugin-conf/x11vnc.conf ]; then . /initramfs/plugin-conf/x11vnc.conf @@ -83,12 +86,7 @@ if [ -e /initramfs/plugin-conf/x11vnc.conf ]; then echo "X11VNC_PARAMS=\"$PARAMS\"" >> /mnt/etc/x11vnc/x11vnc.conf echo "X11VNC_X11=\"$X11VNC_X11\"" >> /mnt/etc/x11vnc/x11vnc.conf - ln -sf ../init.d/x11vnc /mnt/etc/rc0.d/K20x11vnc - ln -sf ../init.d/x11vnc /mnt/etc/rc1.d/K20x11vnc - ln -sf ../init.d/x11vnc /mnt/etc/rc6.d/K20x11vnc - ln -sf ../init.d/x11vnc /mnt/etc/rc2.d/S20x11vnc - ln -sf ../init.d/x11vnc /mnt/etc/rc3.d/S20x11vnc - ln -sf ../init.d/x11vnc /mnt/etc/rc4.d/S20x11vnc + rllinker "x11vnc" 30 10 [ $DEBUGLEVEL -gt 0 ] && echo "done with 'x11vnc' os-plugin ..."; fi |