summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHung-Wei Chiu <hwchiu@users.noreply.github.com>2017-04-27 23:30:56 +0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-02 15:23:38 -0400
commit826fe613f95fcf6047c987757c946bb53cb99929 (patch)
tree7146fab261b445477a1ca0e28207b53268a60bc2 /doc
parent6aebd5f532683a5761f51b1cf0f038637cdca5aa (diff)
update doc of ubuntu 12.04
1. modify the prefix to /usr (which is hard-code in /etc/init.d/frr) 2. install init.d related files.
Diffstat (limited to 'doc')
-rw-r--r--doc/Building_FRR_on_Ubuntu1204.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/Building_FRR_on_Ubuntu1204.md b/doc/Building_FRR_on_Ubuntu1204.md
index 2d6ccffd9f..521f0a0c2b 100644
--- a/doc/Building_FRR_on_Ubuntu1204.md
+++ b/doc/Building_FRR_on_Ubuntu1204.md
@@ -77,6 +77,7 @@ an example.)
cd frr
./bootstrap.sh
./configure \
+ --prefix=/usr \
--enable-exampledir=/usr/share/doc/frr/examples/ \
--localstatedir=/var/run/frr \
--sbindir=/usr/lib/frr \
@@ -130,3 +131,26 @@ other settings)
net.ipv6.conf.all.forwarding=1
**Reboot** or use `sysctl -p` to apply the same config to the running system
+
+### Install the init.d service
+
+ sudo install -m 755 tools/frr /etc/init.d/frr
+ sudo install -m 644 cumulus/etc/frr/daemons /etc/frr/daemons
+ sudo install -m 644 cumulus/etc/frr/debian.conf /etc/frr/debian.conf
+ sudo install -m 644 -o frr -g frr cumulus/etc/frr/vtysh.conf /etc/frr/vtysh.conf
+
+### Enable daemons
+Edit `/etc/frr/daemons` and change the value from "no" to "yes" for those daemons you want to start by systemd.
+For example.
+
+ zebra=yes
+ bgpd=yes
+ ospfd=yes
+ ospf6d=yes
+ ripd=yes
+ ripngd=yes
+ isisd=yes
+
+### Start the init.d service
+- /etc/init.d/frr start
+- use `/etc/init.d/frr status` to check its status.