__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#!/bin/sh
set -e
# Automatically added by dh_installdeb/13.24.1ubuntu2
dpkg-maintscript-helper rm_conffile /etc/NetworkManager/dispatcher.d/01-ifupdown 1.44.2-2\~ -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.24.1ubuntu2
if [ -z "$DPKG_ROOT" ] && [ "$1" = upgrade ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'NetworkManager-dispatcher.service' 'NetworkManager-wait-online.service' 'nm-priv-helper.service' >/dev/null || true
fi
# End automatically added section
DIR="/etc/NetworkManager/system-connections"
BACKUP_DIR="/var/lib/NetworkManager/backups"
CNT=$(ls -1 "$DIR" | wc -l)
if ([ "$1" = "upgrade" ] || [ "$1" = "install" ]) && [ -d "$DIR" ] && [ "$CNT" -ge 1 ]; then
# create backup directory if it does not yet exist
mkdir -p "$BACKUP_DIR" || true
BAK="$BACKUP_DIR/system-connections_$2"
if [ -d "$BAK" ]; then
rm -r "$BAK"
fi
# copy current system-connections to the backup directory
cp -r "$DIR" "$BAK"
fi