summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
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