summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@io.vyatta.com>2007-12-13 18:23:06 -0800
committerTom Grennan <tgrennan@io.vyatta.com>2007-12-13 18:23:06 -0800
commit1d92ea297e4b28b292b7c735b2e9d1308156e285 (patch)
tree910fe959e93dfbac6c2a43c0d9d9ff57e1b88d5c
parentc6a0c8078b8be141618fed1011229582f13ec30f (diff)
downloadvyatta-cfg-1d92ea297e4b28b292b7c735b2e9d1308156e285.tar.gz
vyatta-cfg-1d92ea297e4b28b292b7c735b2e9d1308156e285.zip
make /opt/vyatta[/etc]/config in postinst rather than init script
-rw-r--r--debian/vyatta-cfg.postinst.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 80ddb8c..3fce13b 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -3,6 +3,9 @@
prefix=@prefix@
sysconfdir=@sysconfdir@
+mkdir -m 0775 -p $sysconfdir/config $prefix/config
+chgrp quaggavty $sysconfdir/config $prefix/config
+
update-rc.d vyatta-ofr defaults 90 >/dev/null
# do we want to start vyatta-ofr here in postinst?