]> git.proxmox.com Git - mirror_frr.git/commitdiff
update doc of ubuntu 12.04
authorHung-Wei Chiu <hwchiu@users.noreply.github.com>
Thu, 27 Apr 2017 15:30:56 +0000 (23:30 +0800)
committerGitHub <noreply@github.com>
Thu, 27 Apr 2017 15:30:56 +0000 (23:30 +0800)
1. modify the prefix to /usr (which is hard-code in /etc/init.d/frr)
2. install init.d related files.

doc/Building_FRR_on_Ubuntu1204.md

index 7766ff548b4f427d1676c5ad90b0dc4fa5a2b964..f13052a1bb0188040fec1605c75db08c6e8f4291 100644 (file)
@@ -78,6 +78,7 @@ an example.)
     git checkout stable/2.0
     ./bootstrap.sh
     ./configure \
+        --prefix=/usr \
         --enable-exampledir=/usr/share/doc/frr/examples/ \
         --localstatedir=/var/run/frr \
         --sbindir=/usr/lib/frr \
@@ -131,3 +132,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.