summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg.postinst.in
diff options
context:
space:
mode:
authorDeepti Kulkarni <deepti@vyatta.com>2012-02-28 08:16:58 -0800
committerDeepti Kulkarni <deepti@vyatta.com>2012-02-28 08:16:58 -0800
commitb4f1ac8baf8d8c482f86fd033ae90257060277f6 (patch)
treef8106a9147c7161da9b271b8a2bba5c239c2405b /debian/vyatta-cfg.postinst.in
parent3a4f9c0f87db96d8af230f8e4c19c3fd1c697477 (diff)
downloadvyatta-cfg-b4f1ac8baf8d8c482f86fd033ae90257060277f6.tar.gz
vyatta-cfg-b4f1ac8baf8d8c482f86fd033ae90257060277f6.zip
bug fix for 4718 - enhancement that will log commits in syslog for all
successful (complete) commits for all commit methods.
Diffstat (limited to 'debian/vyatta-cfg.postinst.in')
-rw-r--r--debian/vyatta-cfg.postinst.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 7ba4332..7ad9339 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -44,3 +44,5 @@ done
# handle renamed file (not automatically deleted since it was "conffile")
rm -f /etc/bash_completion.d/20vyatta-cfg
+# create symlink for post commit hook
+ln -sf /opt/vyatta/sbin/vyatta-log-commit.pl /etc/commit/post-hooks.d/10vyatta-log-commit.pl