diff options
author | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-13 18:23:06 -0800 |
---|---|---|
committer | Tom Grennan <tgrennan@io.vyatta.com> | 2007-12-13 18:23:06 -0800 |
commit | 1d92ea297e4b28b292b7c735b2e9d1308156e285 (patch) | |
tree | 910fe959e93dfbac6c2a43c0d9d9ff57e1b88d5c /debian/vyatta-cfg.postinst.in | |
parent | c6a0c8078b8be141618fed1011229582f13ec30f (diff) | |
download | vyatta-cfg-1d92ea297e4b28b292b7c735b2e9d1308156e285.tar.gz vyatta-cfg-1d92ea297e4b28b292b7c735b2e9d1308156e285.zip |
make /opt/vyatta[/etc]/config in postinst rather than init script
Diffstat (limited to 'debian/vyatta-cfg.postinst.in')
-rw-r--r-- | debian/vyatta-cfg.postinst.in | 3 |
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? |