summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-03 14:02:51 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-02-03 14:04:16 -0800
commitcc8293134a084fe7407444b1b84f7e5d0edaf192 (patch)
tree11dad8d81910a5b0e4f3be3391a311ba3d6f65f6 /debian
parent9e57e0cc896f95ff14d9ffe19ec675fb3f1ca87c (diff)
downloadvyatta-cfg-cc8293134a084fe7407444b1b84f7e5d0edaf192.tar.gz
vyatta-cfg-cc8293134a084fe7407444b1b84f7e5d0edaf192.zip
Rename vyatta-ofr to vyatta-router
Bug 4386 vyatta-ofr is out of date product name.
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg.postinst.in3
-rw-r--r--debian/vyatta-cfg.postrm.in2
2 files changed, 2 insertions, 3 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 1efb9b5..48b889d 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -6,8 +6,7 @@ sysconfdir=@sysconfdir@
mkdir -m 0775 -p $sysconfdir/config $prefix/config
chgrp vyattacfg $sysconfdir/config $prefix/config 2>/dev/null
-update-rc.d vyatta-ofr defaults 90 >/dev/null
-# do we want to start vyatta-ofr here in postinst?
+update-rc.d vyatta-router defaults 90 >/dev/null
if [ "$sysconfdir" != "/etc" ]; then
# remove the config files and replace with blank ones
diff --git a/debian/vyatta-cfg.postrm.in b/debian/vyatta-cfg.postrm.in
index 262b9fe..c211589 100644
--- a/debian/vyatta-cfg.postrm.in
+++ b/debian/vyatta-cfg.postrm.in
@@ -1,6 +1,6 @@
#!/bin/bash
if [ "$1" = "purge" ]; then
- update-rc.d vyatta-ofr remove >/dev/null || exit $?
+ update-rc.d vyatta-router remove >/dev/null || exit $?
fi