As discussed in the issue, this PR drops support for the --interface flag of the unset-static-ip script. Instead of allowing to selectively unset interface configurations, the unset-static-ip script now only allows to remove all/any custom IP configs. We didn’t find to have a need for the selective unsetting, and can therefore spare the complexity.
Notes
I noticed we accidentally forgot to parse the --help flag, and we also forgot to document the --help and --quiet flags in the usage description. I’ve fixed both.
I dropped the “Examples” section from the help output, because without the --interface flag the usage seems trivial enough to me.
Using the --interface flag now produces an error, just in case someone relied on it.
Related https://github.com/tiny-pilot/tinypilot/issues/1710.
As discussed in the issue, this PR drops support for the
--interface
flag of theunset-static-ip
script. Instead of allowing to selectively unset interface configurations, theunset-static-ip
script now only allows to remove all/any custom IP configs. We didn’t find to have a need for the selective unsetting, and can therefore spare the complexity.Notes
--help
flag, and we also forgot to document the--help
and--quiet
flags in the usage description. I’ve fixed both.--interface
flag the usage seems trivial enough to me.--interface
flag now produces an error, just in case someone relied on it.change-hostname
privileged script – except for thedhcpcd_original
variable name. Both instances will later be replaced by a call to the upcoming unified script.unset-static-ip
script. It should be trivial to resolve this, though.