diff options
Diffstat (limited to 'apt')
-rw-r--r-- | apt/apt.conf.d/99-local-samhain | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt/apt.conf.d/99-local-samhain b/apt/apt.conf.d/99-local-samhain new file mode 100644 index 0000000..f17ae3d --- /dev/null +++ b/apt/apt.conf.d/99-local-samhain @@ -0,0 +1,10 @@ +// WARNING: this is INSECURE!! + +DPkg { + Post-Invoke { + "echo Updating samhain database"; + "/etc/init.d/samhain stop"; + "/usr/sbin/samhain -t update --foreground -m none"; + "/etc/init.d/samhain start"; + }; +}; |