diff --git a/package/gluon-core/files/lib/gluon/functions/sysconfig.sh b/package/gluon-core/files/lib/gluon/functions/sysconfig.sh index 044cbf51..67aa1061 100644 --- a/package/gluon-core/files/lib/gluon/functions/sysconfig.sh +++ b/package/gluon-core/files/lib/gluon/functions/sysconfig.sh @@ -5,6 +5,10 @@ sysconfig() { cat "$SYSCONFIGDIR/$1" 2>/dev/null } +sysconfig_isset() { + test -e "$SYSCONFIGDIR/$1" +} + sysconfig_set() { echo -n "$2" > "$SYSCONFIGDIR/$1" }