Adam, can you confirm what link you have in pre-down? I created a link in pre-down.d called pre-down pointing to nfs.sh in the higher directory. When I included this script (on ubuntu 16.04), in systog I get messages like:
root: ********************** NetworkManager dispatch script nfs, IF=none STATUS=hostname
(after trying to bring up my wifi device which is disabled)
And:
root: ********************** NetworkManager dispatch script nfs, IF=enp2s0 STATUS=up
(on bring up my ethernet network)
But never a Status=pre-down
I am using autofs, but I'm not sure if that's the same as using 'systemd automount fstab'
Adam, can you confirm what link you have in pre-down? I created a link in pre-down.d called pre-down pointing to nfs.sh in the higher directory. When I included this script (on ubuntu 16.04), in systog I get messages like:
root: ******* ******* ******* * NetworkManager dispatch script nfs, IF=none STATUS=hostname
(after trying to bring up my wifi device which is disabled)
And:
root: ******* ******* ******* * NetworkManager dispatch script nfs, IF=enp2s0 STATUS=up
(on bring up my ethernet network)
But never a Status=pre-down
I am using autofs, but I'm not sure if that's the same as using 'systemd automount fstab'