From cc8293134a084fe7407444b1b84f7e5d0edaf192 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 3 Feb 2010 14:02:51 -0800 Subject: Rename vyatta-ofr to vyatta-router Bug 4386 vyatta-ofr is out of date product name. --- debian/vyatta-cfg.postinst.in | 3 +-- debian/vyatta-cfg.postrm.in | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'debian') 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 -- cgit v1.2.3