This commit is contained in:
Hans Karlinius
2024-12-02 14:01:17 +01:00
parent 7f7cdf5c12
commit 27449e9cba
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/awk -f
BEGIN {
section = $2;
key = $3;
value = $4;
found_section = false;
}
/^\[$section\]/ {
found_section = true;
}
END {
print "Found section: $found_section";
}
/config/vhclient.ini