From a80b581d041872ab0407a3133e2f49af65f0adef Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 13 Mar 2008 10:20:44 +0000 Subject: * fixed suse problems with autoprobing Xauthority files git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1629 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/x11vnc/XX_x11vnc.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'os-plugins/plugins/x11vnc/XX_x11vnc.sh') 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 -- cgit v1.2.3-55-g7522