On Mon, 4 Feb 2002, Hans Ekbrand wrote: > On Mon, Feb 04, 2002 at 06:28:42PM +0100, Wolfgang Schweer wrote: > > So to really free up space, which is a good thing for old boxes with a low > > amount of memory, dhclient has to be terminated beforehand. > > > > If one needs to restart dhclient, some steps have to be taken, cause > > that binary is linked against uClibc. > > > > If there is interest, I'd mail the steps to be taken. > > That sounds great. Please do (to the list).
Copy stripped versions of dhclient (from your distro, linked against libc6), netdate and killall5 to the /opt/ltsp/i386/sbin directory. Make a symlink in that directory named 'pidof' pointing to killall5. Make another symlink there named 'dhclient-script' pointing to ../etc/dhclient-script. Copy the attached rc.local file to /opt/ltsp/i386/etc, but check it before really doing that. Make a symlink in the etc directory named 'adjtime' pointing to ../tmp/adjtime. Make these two symlinks in the dhcp-subdir of etc: one named 'dhcpd-eth0.info' pointing to ../tmp/dhcpd-eth0.info one named 'dhcpd-eth0.info.new' pointing to ../tmp/dhcpd-eth0.info.new Before restarting dhclient, time is fetched from the server. But having set 'default-lease-time -1' all this will (hopefully) not be necessary. You can simply enjoy some more free space. You can download all that stuff including symlinks as www.westfalenkolleg-dortmund.de/ltsp/changes.tar.bz2 (98kB) Hope it works Wolfgang
rc.local.bz2
Description: rc.local.bz2
