test
This commit is contained in:
18
vhclient/rootfs/usr/bin/vh_editini
Executable file
18
vhclient/rootfs/usr/bin/vh_editini
Executable 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
|
||||
Reference in New Issue
Block a user