Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 331 Bytes
#! /bin/sh
# Disable 'auto dhcp' interfaces if network-manager is in use.
set -e
. /usr/share/debconf/confmodule
db_get netcfg/network-manager
if [ "$RET" = true ] && \
[ -f /target/usr/lib/NetworkManager/ifblacklist_migrate.sh ]; then
NETCFG=1 chroot /target \
sh /usr/lib/NetworkManager/ifblacklist_migrate.sh
fi
exit 0