]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
general-function.pl: Add a function to easily set defaults
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Apr 2024 13:02:33 +0000 (15:02 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 16 Apr 2024 13:02:33 +0000 (15:02 +0200)
commitf722131f304f6cb6bb4bb3c9b8ed70eb478c189a
tree9fbdcb65184c10ad30ecdbfbbad3ef74a313df7d
parent9865a80c85ecb3313091b4b587be8f12b59df8cc
general-function.pl: Add a function to easily set defaults

This function can be used to set values in a hash if they have not been
set, yet.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/general-functions.pl