/etc/apm/resume.d/linux-wlan-ng-resume is in linux-wlan-ng 0.2.9+dfsg-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
# This script is run on resume to reactivate linux-wlan-ng
# iterfaces which were brought down in the suspend script.
IFACES=/var/run/linux-wlan-ng.ifaces
MODULES=/var/run/linux-wlan-ng.modules
[ -e $MODULES ] || exit 0
for module in `cat $MODULES`; do
modprobe $module || true
done
rm -f $MODULES
sleep 1
[ -e $IFACES ] || exit 0
for iface in `cat $IFACES`; do
ifup $iface
done
rm -f $IFACES
|