anchor.diff:            fi
           done
   
  -        ${cfg.up}
           ${optionalString cfg.updateResolvConf
              "${pkgs.update-resolv-conf}/libexec/openvpn/update-resolv-conf"}
  +
  +        ${optionalString (cfg.up != "") "source ${userSuppliedUpScript}"}
         '';
   
         downScript = ''
  
positive.code:             default = "";
              type = types.lines;
              description = ''
                Shell commands executed when the instance is starting.
              '';
            };
  
  
negative.code:         export PATH=${path}
          ${optionalString cfg.updateResolvConf
             "${pkgs.update-resolv-conf}/libexec/openvpn/update-resolv-conf"}
  
          ${optionalString (cfg.down != "") "source ${userSuppliedDownScript}"}
        '';
  
        userSuppliedUpScript = pkgs.writeScript "openvpn-${name}-userSuppliedUpScript" ''
          ${cfg.up}
        '';
  
        userSuppliedDownScript = pkgs.writeScript "openvpn-${name}-userSuppliedDownScript" ''
          ${cfg.down}
        '';
  
  