summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-22 15:26:22 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-22 15:26:22 -0800
commit6970ba0abdb7ac9af343de33bba758fa2a066b13 (patch)
treec43452cbb755c4b4e3003b88c168a5b1f80d05a4
parent0afd6323d936e7bef1fbd1c10cf35c51f3aeec0f (diff)
downloadvyatta-cfg-6970ba0abdb7ac9af343de33bba758fa2a066b13.tar.gz
vyatta-cfg-6970ba0abdb7ac9af343de33bba758fa2a066b13.zip
use vyattacfg for config files
-rw-r--r--debian/vyatta-cfg.postinst.in2
-rw-r--r--etc/bash_completion.d/20vyatta-cfg4
-rwxr-xr-xetc/init.d/vyatta-ofr2
3 files changed, 4 insertions, 4 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 3fce13b..556b1a9 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -4,7 +4,7 @@ prefix=@prefix@
sysconfdir=@sysconfdir@
mkdir -m 0775 -p $sysconfdir/config $prefix/config
-chgrp quaggavty $sysconfdir/config $prefix/config
+chgrp vyattacfg $sysconfdir/config $prefix/config
update-rc.d vyatta-ofr defaults 90 >/dev/null
# do we want to start vyatta-ofr here in postinst?
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 7d0b633..5966e18 100644
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -61,7 +61,7 @@ show ()
save ()
{
- eval "sudo sg quaggavty \
+ eval "sudo sg vyattacfg \
\"umask 0002 ; ${vyatta_sbindir}/vyatta-save-config.pl $@\""
}
@@ -968,7 +968,7 @@ vyatta_config_complete ()
eval $restore_shopts
}
-DEF_GROUP=quaggavty
+DEF_GROUP=vyattacfg
make_vyatta_config_dir ()
{
sudo mkdir -m 0775 -p $1
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-ofr
index 32eb554..89914c4 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-ofr
@@ -55,7 +55,7 @@ else
subinit+=( rtrmgr )
GROUP=xorp
else
- GROUP=quaggavty
+ GROUP=vyattacfg
fi
fi