[X2go-dev] Dependency based booting in Squeeze

Paul van der Vlis paul at vandervlis.nl
Wed Feb 16 13:11:28 CET 2011


Hello,

X2go is for Lenny, but it also runs in Squeeze. A problem is the
dependency based booting in Squeeze.

When I edit /etc/init.d/x2goserver and replace the first line:
#! /bin/sh

By these 9 lines:
----------------
#! /bin/sh
### BEGIN INIT INFO
# Provides:          x2goserver
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start and stop the x2go daemon
### END INIT INFO
------------------

the dependency based booting works fine. (I can enable it, I have not
really tested the boot-process).

You can enable dependency based booting with:
apt-get install insserv
dpkg-reconfigure insserv sysv-rc

More information:
http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot

With regards,
Paul van der Vlis.




-- 
http://www.vandervlis.nl/




More information about the x2go-dev mailing list