summaryrefslogtreecommitdiff
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
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.
-rw-r--r--Makefile.am2
-rw-r--r--debian/vyatta-cfg.postinst.in3
-rw-r--r--debian/vyatta-cfg.postrm.in2
-rwxr-xr-xetc/init.d/vyatta-router (renamed from etc/init.d/vyatta-ofr)6
4 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 25003d2..41d37af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ AM_YFLAGS = -d --name-prefix=yy_`basename $* .y`_
AM_LFLAGS = --prefix=yy_`basename $* .l`_ -olex.yy.c
completion_SCRIPTS = etc/bash_completion.d/20vyatta-cfg
-initd_SCRIPTS = etc/init.d/vyatta-ofr
+initd_SCRIPTS = etc/init.d/vyatta-router
dhcphook_SCRIPTS = scripts/vyatta-dhclient-hook
modprobe_DATA = etc/modprobe.d/no-copybreak.conf
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
diff --git a/etc/init.d/vyatta-ofr b/etc/init.d/vyatta-router
index a74a87e..5c93faf 100755
--- a/etc/init.d/vyatta-ofr
+++ b/etc/init.d/vyatta-router
@@ -1,6 +1,6 @@
#!/bin/bash
### BEGIN INIT INFO
-# Provides: vyatta-ofr
+# Provides: vyatta-router
# Required-Start: $syslog $time $local_fs
# Required-Stop: $syslog $time $local_fs
# Default-Start: 2 3 4 5
@@ -82,7 +82,7 @@ init_bootfile () {
fi
[ -d /media/floppy/config ] &&
- mount -o bind /media/floppy/config /opt/vyatta/etc/config
+ mount -o bind /media/floppy/config /opt/vyatta/etc/config
if [ -f $BOOTFILE ] && grep -q '/\*XORP Configuration File, v1.0\*/' \
$BOOTFILE >&/dev/null; then
@@ -138,7 +138,7 @@ cleanup_raid()
#
# Load the acpi_cpufreq kernel module, but only for certain processors.
-# Some Intel CPUs need to have it loaded in order to initialize
+# Some Intel CPUs need to have it loaded in order to initialize
# properly.
#
load_acpi_cpufreq()