This allows us to call a funcion which will generate the correct
credentials where they need to be hashed or not. In the function
in this PR, the function returns all of the request and send
options required for Orange France and fills in the client fields
automatically.
Also in the case of Orange France an extra entry box appears to
allow the entry of the LiveBox_ID.
The PR is a work in progress, but all that is needed to make it
work for Orange France is the hash routine.
It's also possible to use the functions create the hex strings
needed for other ISPs and auto fill the options as needed.
Section of code I've removed had been removed previously as during recent
PR's the ability to iterate through the interfaces was added. This 'solo'
bit of code appears to have made its way back in, don't know where and
don't know when as the song goes. Remove SLA_ID from Prefix interface.
It's collected from the LAN settings
This code keeps the legacy aliases functional until switched (migrated) to the new ones, improves isAlias() performance which was in 18.7r2 and removes some code duplication.
Remove the dhclient "handlers" and use the PID file
like everything else. The pid file is already there
under the same name, but we make it explicit in
case something changes or code needs to be traced.
Regression introduced in 566fe52 a while back. Checked the commits
and code again so a bit of assorted cleanup attached. Other spots
in the commits look good.
o Do not try to clean up stray config file, it is rewritten either way
or missed to be deleted during a reconfigure on some other code path.
o Don't stop dhcp6c on save, it stops during interface_bring_down()
Use original element (<div>/<small>) with "data-for" attribute.
The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).
The old jquery selectors to remove once conversion is complete.
opnsense_ui.js & head.inc
$("*[for='" + $(this).attr('id') + "']")....
$('[for*="help_for"]')....