diff options
-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 |