Sindbad~EG File Manager

Current Path : /var/lib/dpkg/info/
Upload File :
Current File : //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

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists