summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xetc/network/if-up.d/itzks-autofs8
2 files changed, 6 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 1d98829..f826688 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ itzks-systems (2015.11.27.1) UNRELEASED; urgency=medium
* etc/cron.d/itzks-systems-common: Perform apt-get autoclean on
every reboot (all systems).
+ * etc/network/if-up.d/itzks-autofs: Re-enable this script. On systemd
+ based systems using NetworkManager to control eth0, a restart of
+ autofs after RJ45 cable plug-events is a must.
-- Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Fri, 27 Nov 2015 05:46:53 +0100
diff --git a/etc/network/if-up.d/itzks-autofs b/etc/network/if-up.d/itzks-autofs
index 369ca23..974a1c6 100755
--- a/etc/network/if-up.d/itzks-autofs
+++ b/etc/network/if-up.d/itzks-autofs
@@ -1,9 +1,7 @@
#!/bin/sh
-# DISABLED for Debian jessie and beyond...
+if test -e /etc/network/if-up.d/autofs; then exit 0; fi
+if test -e /etc/network/if-up.d/debian-edu; then exit 0; fi
-#if test -e /etc/network/if-up.d/autofs; then exit 0; fi
-#if test -e /etc/network/if-up.d/debian-edu; then exit 0; fi
-
-#invoke-rc.d --quiet autofs restart
+invoke-rc.d --quiet autofs restart