Hi,
On 21/01/11 18:23, Neil W. Hunt wrote:
thanks so much for the help and pointer to the script. A couple questions:
- I see the /opt/x2gothinclient/etc/init.d/ramdrive script, however I don't see S*ramdrive anywhere in my /opt/x2gothinclient/etc/rc*.d directories - does this mean it isn't running at startup? If it is running at startup, how is it being executed? If not, does that mean my /ramdrive isn't even being created and mounted?
It is the first script run by init: :~$ ls -l /opt/x2gothinclient/etc/rcS.d/S00ramdrive
lrwxrwxrwx 1 root root 18 5. Jun 2010 /opt/x2gothinclient/etc/rcS.d/S00ramdrive -> ../init.d/ramdrive
I assume this link is created from the maintainer scripts in one of the x2go thinclient packages, as well as the ramdrive script itself and so on. In my case I modified the ramdrive script a bit.
- I also see in your script these lines:
chroot /opt/x2gothinclient rm -f /etc/rcS.d/S05bootlogd /etc/rcS.d/S08pcmciautils /etc/rcS.d/S09checkroot.sh /etc/rcS.d/S11checkfs.sh /etc/rcS.d/S12resize_lvm /etc/rcS.d/S16readahead-desktop /etc/rcS.d/S19portmap /etc/rcS.d/S20nfs-common /etc/rcS.d/S26cryptdisks-early /etc/rcS.d/S28cryptdisks /etc/rcS.d/S30checkfs.sh /etc/rcS.d/S45mountnfs.sh /etc/rcS.d/S46mountnfs-bootclean.sh /etc/rcS.d/S99stop-bootlogd-single /etc/rc2.d/S99stop-bootlogd
These services don't need to run on the thinclient, I removed the startup links trying to save a little time during boot.
It would be better to use update-rc.d instead of rm -f though..
chroot /opt/x2gothinclient mv /etc/rc2.d/S20x2gothinclient /etc/rc2.d/S90x2gothinclient
It looks like you are doing some shifting of sorts on the process boot order. Can you offer any insight into what you were doing there?
I can't remember why I did this, maybe to circumvent some kind of bug due to services being started in the wrong order.
I remember e.g. kdm crashing if ntp changes the system time at a specifig time during kdm's startup.
.''. Philipp Huebner <debalance@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F
. '
HP: http://www.debalance.de, Skype: philipp-huebner
`- ICQ: 235-524-440, Jabber: der_schakal@jabber.org