summaryrefslogtreecommitdiff
path: root/scripts/vyos-user-postcommit-hooks.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyos-user-postcommit-hooks.sh')
-rw-r--r--scripts/vyos-user-postcommit-hooks.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/vyos-user-postcommit-hooks.sh b/scripts/vyos-user-postcommit-hooks.sh
new file mode 100644
index 0000000..fd23f82
--- /dev/null
+++ b/scripts/vyos-user-postcommit-hooks.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if [ -d /config/scripts/commit/post-hooks.d/ ]; then
+ /bin/run-parts /config/scripts/commit/post-hooks.d
+fi