diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/network | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 56c59f7e..74da26d9 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -162,6 +162,8 @@ case "$1" in if [[ "$rootfs" == nfs* || "$rootopts" =~ _r?netdev ]] ; then exit 1 fi + + systemctl show --property=RequiredBy -- -.mount | grep -q 'remote-fs.target' && exit 1 vlaninterfaces="" vpninterfaces="" |