mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
10 lines
423 B
Bash
Executable File
10 lines
423 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The configuration file used in reconfigure (i.e. settings.json) may eventually
|
|
# have credentials, so we need to restrict its permissions. We do so by pre-creating
|
|
# the directory, and the template package will use its permissions while creating the file.
|
|
# If we do that in setup.sh, the file already exists with bad permissions.
|
|
|
|
# shellcheck disable=SC2174
|
|
mkdir -p -m 0700 /usr/local/etc/crowdsec/opnsense
|