A work-around which works well is to have a script mount the nfsv4 shares
#!/bin/sh IF=$1 STATUS=$2
if [ "$IF" = "eth0" ] && [ "$STATUS" = "down" ] ; then # if [ `/usr/bin/stat -fc%t:%T /shared` != `/usr/bin/stat -fc%t:%T /` ]; then /bin/umount /shared # fi fi if [ "$IF" = "eth0" ] && [ "$STATUS" = "up" ] ; then /bin/mount /home fi
exit
============================================================
and also modify the lightdm start script to wait on mounted /home
start on ((filesystem and runlevel [!06] and started dbus and plymouth-ready) and mounted MOUNTPOINT=/home or runlevel PREVLEVEL=S)
R.
A work-around which works well is to have a script mount the nfsv4 shares
#!/bin/sh
IF=$1
STATUS=$2
if [ "$IF" = "eth0" ] && [ "$STATUS" = "down" ] ; then
# if [ `/usr/bin/stat -fc%t:%T /shared` != `/usr/bin/stat -fc%t:%T /` ]; then
/bin/umount /shared
# fi
fi
if [ "$IF" = "eth0" ] && [ "$STATUS" = "up" ] ; then
/bin/mount /home
fi
exit
======= ======= ======= ======= ======= ======= ======= ======= ====
and also modify the lightdm start script to wait on mounted /home
start on ((filesystem
and runlevel [!06]
and started dbus
and plymouth-ready)
and mounted MOUNTPOINT=/home
or runlevel PREVLEVEL=S)
R.