[Git][debian-edu/debian-edu-config][master] Drop unused wicd preconnect hook
"Mike Gabriel (@sunweaver)" <[email protected]>
| Newsgroups | gmane.linux.skolelinux.cvs |
|---|---|
| Message-ID | <[email protected]> |
Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config
Commits:
0033de22 by Daniel Teichmann at 2026-08-21T14:49:39+00:00
Drop unused wicd preconnect hook
wicd is no longer in Debian. The hook was the only remaining wicd
integration and is not referenced anywhere else in the package.
- - - - -
3 changed files:
- Makefile
- debian/debian-edu-config.maintscript
- − etc/wicd/scripts/preconnect/set_wireless_mac_from_eth0
Changes:
=====================================
Makefile
=====================================
@@ -158,7 +158,6 @@ SYSCONFSCRIPTS = \
mklocaluser.d/20-debian-edu-config \
shutdown-at-night/clients-generator \
resolvconf/update.d/bind-debian-edu \
- wicd/scripts/preconnect/set_wireless_mac_from_eth0 \
X11/Xsession-debian-edu \
$(NULL)
=====================================
debian/debian-edu-config.maintscript
=====================================
@@ -4,3 +4,4 @@ rm_conffile /etc/cfengine3/debian-edu/cf.ldapscripts 2.12.6~
dir_to_symlink /etc/debian-edu/host-keytabs /var/lib/debian-edu/host-keytabs 2.12.18~
rm_conffile /etc/init.d/fetch-ldap-cert 2.12.34~
rm_conffile /etc/dhcp/dhclient-exit-hooks.d/fetch-ldap-cert 2.12.44~
+rm_conffile /etc/wicd/scripts/preconnect/set_wireless_mac_from_eth0 2.13.1~
=====================================
etc/wicd/scripts/preconnect/set_wireless_mac_from_eth0 deleted
=====================================
@@ -1,24 +0,0 @@
-#!/bin/sh
-#
-# Make sure wifi MAC is the same as wired MAC, to get DHCP to work with
-# static assignment.
-
-set -e
-
-PATH=/sbin:$PATH
-export PATH
-
-iface_mac() {
- IF="$1"
- LC_ALL=C ifconfig $IF | grep HWa | cut -c39-55
-}
-
-MAC1=$(iface_mac eth0)
-MACW0=$(iface_mac wlan0)
-if [ "$MACW0" ] ; then
- logger -t wicd/set_wireless_mac_from_eth0 \
- "changing MAC address of wlan0 from $MACW0 to $MAC1"
- ifconfig wlan0 down
- ifconfig wlan0 hw ether $MAC1
- ifconfig wlan0 up
-fi
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/0033de228fbfc712d26ba0f3a57b711f3c26d9c0
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/0033de228fbfc712d26ba0f3a57b711f3c26d9c0
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________
debian-edu-commits mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-edu-commits