summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/x11vnc/XX_x11vnc.sh
diff options
context:
space:
mode:
authorSebastian Schmelzer2008-03-13 11:20:44 +0100
committerSebastian Schmelzer2008-03-13 11:20:44 +0100
commita80b581d041872ab0407a3133e2f49af65f0adef (patch)
treedc08bad4daaebc7bd735bbf71aedf62f3466f5c6 /os-plugins/plugins/x11vnc/XX_x11vnc.sh
parent* added support for new action 'list-selections' which shows the available (diff)
downloadcore-a80b581d041872ab0407a3133e2f49af65f0adef.tar.gz
core-a80b581d041872ab0407a3133e2f49af65f0adef.tar.xz
core-a80b581d041872ab0407a3133e2f49af65f0adef.zip
* fixed suse problems with autoprobing Xauthority files
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1629 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/x11vnc/XX_x11vnc.sh')
-rw-r--r--os-plugins/plugins/x11vnc/XX_x11vnc.sh10
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