On Wed, Feb 06, 2013 at 10:39:08AM +0100, Petter Reinholdtsen wrote: > [Wolfgang Schweer] > > # Wait until /etc/hosts is writeable. > > if [ -w /etc/hosts ] ; then > > I believe -w only check the file mode, not if the file system is > mounted read-write. If so, this test do not work the way you expect > it to.
This code was tested on a server running d-e squeeze. Execution is delayed by the first ltsp config hook, then executed by the second one (when doing bind_mount). Wolfgang
signature.asc
Description: Digital signature