mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
Useful script to extract all parameters out of the loadparm.c file
and sort them into global (G) and service (S) parameters. Useful for keeping the smb.conf docs up to date. Jeremy.
This commit is contained in:
parent
9722a98f8f
commit
e8c5e03308
2
source/script/extract_allparms.sh
Executable file
2
source/script/extract_allparms.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
grep '{".*P_[GL]' param/loadparm.c | sed -e 's/&.*$//g' -e 's/",.*P_LOCAL.*$/ S/' -e 's/",.*P_GLOBAL.*$/ G/' -e 's/^ .*{"//g' | sort -f
|
Loading…
x
Reference in New Issue
Block a user