On Wed, Jan 18, 2012 at 03:39:06PM -0800, Ansis Atteka wrote:
> But can I assume that it is safe to hardcode in postinst the
> /etc/init.d/openvswitch-switch path? I guess that the debhelper
> gets it from ./configure, right? Will look into this...
The #DEBHELPER# block currently expands to:
# Automatically added by dh_installinit
if [ -x "/etc/init.d/openvswitch-switch" ]; then
update-rc.d openvswitch-switch defaults >/dev/null
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d openvswitch-switch $_dh_action ||
init_script_error
else
/etc/init.d/openvswitch-switch $_dh_action ||
init_script_error
fi
fi
# End automatically added section
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev