mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Move interfaces example generation script to under
/usr/share/python-ifupdown2 Ticket: CM-2643 Reviewed By: Testing Done: Tested ifupdown2 sanity
This commit is contained in:
3
debian/python-ifupdown2.postinst
vendored
3
debian/python-ifupdown2.postinst
vendored
@@ -17,6 +17,8 @@ case "$1" in
|
||||
ln -sf /run/network /etc/network/run
|
||||
fi
|
||||
|
||||
ln -sf /usr/share/python-ifupdown2/generate_interfaces.py /usr/share/doc/python-ifupdown2/examples/generate_interfaces.py
|
||||
|
||||
[ -d /etc/network/if-pre-up.d ] || mkdir -p /etc/network/if-pre-up.d
|
||||
[ -d /etc/network/if-up.d ] || mkdir -p /etc/network/if-up.d
|
||||
[ -d /etc/network/if-post-up.d ] || mkdir -p /etc/network/if-post-up.d
|
||||
@@ -64,6 +66,7 @@ case "$1" in
|
||||
rm -f /sbin/ifquery
|
||||
rm -f /sbin/ifup
|
||||
rm -f /sbin/ifdown
|
||||
rm -f /usr/share/doc/python-ifupdown2/generate_interfaces.py
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user