On Fri, Sep 15, 2006 at 22:14:34 +0200, Petter Reinholdtsen wrote:
> In line 75 of my copy of /etc/init.d/ifupdown, the directory is
> created if missing.  I suspect this is done in your copy too.  If not,
> you are using the wrong version of ifupdown.

Yes, this code is present, but is never executed in my case due to

| # if /etc/network/run is a symlink to a directory that doesn't exist,
| # create it.
| if [ -L "$RUN_DIR" ] && [ ! -d "$RUN_DIR" ] ; then

This doesn't cover my case (/etc/network/run doesn't exist) but only
the case that it is a broken symlink.

So I propose adding another if clause for the case [ ! -e "$RUN_DIR" ],
creating /dev/shm/network if necessary (it doesn't exist on this system
but on other systems that is the link target of /etc/network/run)
and setting the link /etc/network/run.


Marc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to