1 2 3 4 5 6
#!/bin/sh if [ -d /config/scripts/commit/pre-hooks.d/ ]; then sg vyattacfg -c "/bin/run-parts /config/scripts/commit/pre-hooks.d" fi