On Sun, 12 Mar 2023, 17:24:35 +0100, mh@mike.franken.de wrote:
On Sonntag, 12. März 2023 17:14:27 CET Dave Howorth wrote:
On Sun, 12 Mar 2023 14:24:31 +0100
mh@mike.franken.de wrote:
On Sonntag, 12. März 2023 13:47:53 CET Carlos E. R. wrote: [...]
Wouldn't
. /etc/sysconfig/network/config
work? Then just test/use $NETCONFIG_NTP_STATIC_SERVERS
I didn't want to have all vars from /etc/sysconfig/network/config in my namespace.
So do it in a subshell? Or equivalent technique.
Yep, of course this would also be possible, but what is wrong with
source <( cat "$NCNETCFG" \ | grep "^NETCONFIG_NTP_STATIC_SERVERS=" \ )
? Takes too much time? Is too bash specific?
If you know where this would have to be put into, why don't you propose a suitable patch? It appears you are mostly worried about this, while others don't, so... Cheers. l8er manfred