summaryrefslogtreecommitdiff
path: root/debian/vyatta-cfg-system.postinst.in
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:31:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-14 15:31:30 -0700
commitdcab2aff7bf9659334e6dda7f50caccbe849213e (patch)
treee096f74eb7a986b3a0c3b473796d9a3a930b11ef /debian/vyatta-cfg-system.postinst.in
parent5719dc4448a91e357a18c17df4f5849efc89d21b (diff)
downloadvyatta-cfg-quagga-dcab2aff7bf9659334e6dda7f50caccbe849213e.tar.gz
vyatta-cfg-quagga-dcab2aff7bf9659334e6dda7f50caccbe849213e.zip
Enable putting core files /var/core
For serviceablity put core files in /var/core. But core file will still not be created unless process is running with permission to write there, and has ulimit permission.
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rw-r--r--debian/vyatta-cfg-system.postinst.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 3c3c2e40..1058f718 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -147,6 +147,7 @@ fi
# create needed directories
mkdir -p /var/log/user
+mkdir -p /var/core
touch /etc/environment