0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.219.12.88


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/netplan.io.postinst

#!/bin/sh

set -e
set -u

case "$1" in
    configure)
	if dpkg --compare-versions "$2" lt "0.35"; then
	    # Create /etc/network/interfaces as breadcrumbs if it doesn't
	    # already exist
	    if [ ! -f /etc/network/interfaces ]; then
		cat <<EOF >/etc/network/interfaces
# ifupdown has been replaced by netplan(5) on this system.  See
# /etc/netplan for current configuration.
# To re-enable ifupdown on this system, you can run:
#    sudo apt install ifupdown
EOF
	   fi
	fi
	;;
    *)
	;;
esac



exit 0