diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-06 23:11:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-06 23:11:05 +0200 |
commit | a8e5fa22674ac4e451836f3cc138e99a4d98d4c8 (patch) | |
tree | a5b573cd63a065a6f3a04230f89f9a6ff77ee521 | |
parent | 407074ee8e51ee47dfddb91d630c54521777f34f (diff) | |
parent | 95c691d200cfc88ba919f7fca1d316f20f62436a (diff) | |
download | vyatta-cfg-a8e5fa22674ac4e451836f3cc138e99a4d98d4c8.tar.gz vyatta-cfg-a8e5fa22674ac4e451836f3cc138e99a4d98d4c8.zip |
Merge pull request #66 from sever-sever/T775
T775: Add postcommit-hooks in run directory
-rw-r--r-- | scripts/vyos-user-postcommit-hooks.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyos-user-postcommit-hooks.sh b/scripts/vyos-user-postcommit-hooks.sh index 22298a7..84dee58 100644 --- a/scripts/vyos-user-postcommit-hooks.sh +++ b/scripts/vyos-user-postcommit-hooks.sh @@ -3,3 +3,8 @@ if [ -d /config/scripts/commit/post-hooks.d/ ]; then sg vyattacfg -c "/bin/run-parts /config/scripts/commit/post-hooks.d" fi + +# T775 Add commit post-hook for /run +if [ -d /run/scripts/commit/post-hooks.d/ ]; then + sg vyattacfg -c "/bin/run-parts /run/scripts/commit/post-hooks.d" +fi |