[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] Drop etc/NetworkManager/dispatcher.d/02debian-edu-config. Closes: #872154.

Holger Levsen gitlab at salsa.debian.org
Thu Sep 19 12:47:28 BST 2019



Holger Levsen pushed to branch master at Debian Edu / debian-edu-config


Commits:
c21c9bb9 by Holger Levsen at 2019-09-19T11:47:06Z
Drop etc/NetworkManager/dispatcher.d/02debian-edu-config. Closes: #872154.

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- debian/changelog
- − etc/NetworkManager/dispatcher.d/02debian-edu-config


Changes:

=====================================
debian/changelog
=====================================
@@ -1,6 +1,7 @@
 debian-edu-config (2.10.68) UNRELEASED; urgency=medium
 
   * Depend on wget. Closes: #940698.
+  * Drop etc/NetworkManager/dispatcher.d/02debian-edu-config. Closes: #872154.
 
  -- Holger Levsen <holger at debian.org>  Thu, 19 Sep 2019 13:35:41 +0200
 


=====================================
etc/NetworkManager/dispatcher.d/02debian-edu-config deleted
=====================================
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ -z "$1" ]; then
-    echo "$0: called with no interface" 1>&2
-    exit 1;
-fi
-
-# Workaround for misfeature in Network Manager, see
-# <URL: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/293139 >
-# Set the variables used by scripts installed by default in Debian Edu
-# Wheezy and a few others.  Fake call to dhclient hook.
-run_dhclient_exit_hooks() {
-    new_interface="$1"
-    case "$2" in
-	up|vpn-up)
-	    reason=BOUND
-	    ;;
-	down|vpn-down)
-            reason=STOP
-	    ;;
-	*)
-	    return
-	    ;;
-    esac    
-    export reason
-    if [ "$DHCP4_IP_ADDRESS" ] ; then new_ip_address="$DHCP4_IP_ADDRESS" ; export new_ip_address ; fi
-    if [ "$DHCP4_NTP_SERVERS" ] ; then new_ntp_servers="$DHCP4_NTP_SERVERS" ; export new_ntp_servers ; fi
-    if [ "$DHCP4_BROADCAST_ADDRESS" ] ; then new_broadcast_address="$DHCP4_BROADCAST_ADDRESS" ; export new_broadcast_address ; fi
-    if [ "$DHCP4_SUBNET_MASK" ] ; then new_subnet_mask="$DHCP4_SUBNET_MASK" ; export new_subnet_mask ; fi
-    if [ "$DHCP4_HOST_NAME" ] ; then new_host_name="$DHCP4_HOST_NAME" ; export new_host_name ; fi
-    for f in /etc/dhcp/dhclient-exit-hooks.d/*; do
-	sh $f
-    done
-}
-
-run_dhclient_exit_hooks "$1" "$2"



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/c21c9bb9a828290309d027cc63501e6920ffbc51

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/commit/c21c9bb9a828290309d027cc63501e6920ffbc51
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20190919/33251fc4/attachment-0001.html>


More information about the debian-edu-commits mailing list