mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
ff63eca1b1
and sort them into global (G) and service (S) parameters. Useful
for keeping the smb.conf docs up to date.
Jeremy.
(This used to be commit e8c5e03308
)
3 lines
148 B
Bash
Executable File
3 lines
148 B
Bash
Executable File
#!/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
|