[ovs-dev] [PATCH v2] debian: Add network integration scripts.
Ben Pfaff
blp at nicira.com
Fri May 4 20:54:29 UTC 2012
On Fri, May 04, 2012 at 01:32:34PM -0700, Gurucharan Shetty wrote:
> diff --git a/debian/openvswitch-switch.postinst b/debian/openvswitch-switch.postinst
> index 7b9d7bc..22ce434 100755
> --- a/debian/openvswitch-switch.postinst
> +++ b/debian/openvswitch-switch.postinst
> @@ -33,6 +33,11 @@ case "$1" in
> fi
> done
> fi
> +
> + ln -s /usr/share/openvswitch/scripts/ifupdown.sh \
> + /etc/network/if-pre-up.d/openvswitch || true
> + ln -s /usr/share/openvswitch/scripts/ifupdown.sh \
> + /etc/network/if-post-down.d/openvswitch || true
> ;;
I just noticed this. .deb files can contain symlinks. Is there a
reason to call ln in the postinst and rm in the prerm instead?
More information about the dev
mailing list