Add trap in exported2conf script.