mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 09:22:23 +00:00
Read and parse configuration files. Fixes #41. * supports nDPId / nDPIsrvd via command line parameter `-f` * nDPId: read general/tuning and libnDPI settings * support for settings risk domains libnDPI option via config file or via `-R` (Fixes #45, thanks to @UnveilTech) * added some documentation in the config file * adjusted Systemd and Debian packaging to make use of config files Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
17 lines
866 B
Bash
Executable File
17 lines
866 B
Bash
Executable File
#!/bin/sh
|
|
|
|
addgroup --system ndpisrvd-distributor
|
|
adduser --system --no-create-home --shell=/bin/false --group ndpisrvd
|
|
adduser --system --no-create-home --shell=/bin/false --group ndpid
|
|
|
|
cat <<EOF
|
|
**********************************************************************************
|
|
* The that may want to access DPI data needs access to /run/nDPIsrvd/distributor *
|
|
* *
|
|
* To make it accessible to a user, type: *
|
|
* sudo usermod --append --groups ndpisrvd-distributor [USER] *
|
|
* *
|
|
* Please not that you might need to re-login to make changes take effect. *
|
|
**********************************************************************************
|
|
EOF
|