Skip to content

Ifup ifdown scripts

Laurent Deru edited this page May 4, 2016 · 1 revision

6LBR on Native platforms executes configuration scripts at start up and at shut down. These scripts can be used to perform additional configuration on the host running 6LBR.

IF scripts location

Bu default, the scripts are stored in /etc/6lbr/ifup.d and /etc/6lbr/ifdown.d This can be modified using 6lbr.conf file with ETC_6LBR or IFUP and IFDOWN parameters.

Existing IF scripts

Todo

IF script format

The script receives three parameters :

  • 6LBR Lib path
  • 6LBR interface connection mode : raw or tap
  • Interface device

A skeleton of an IF script can be found in /etc/6lbr/ifscript.example

Clone this wiki locally