From 1d92ea297e4b28b292b7c735b2e9d1308156e285 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Thu, 13 Dec 2007 18:23:06 -0800 Subject: make /opt/vyatta[/etc]/config in postinst rather than init script --- debian/vyatta-cfg.postinst.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debian/vyatta-cfg.postinst.in') 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? -- cgit v1.2.3