mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
e8c5e03308
and sort them into global (G) and service (S) parameters. Useful for keeping the smb.conf docs up to date. Jeremy.
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
|