Skip to content
Snippets Groups Projects
Select Git revision
  • 27d04c0622666ef96255ffdad4fddbb187ddbe6c
  • master default protected
  • nrb-domain-director
  • nrb-set-segment-lua
  • set-segment-noifupdown
  • nrbffs/more-dns-debug
  • nrbffs/domain-trial
  • nrb/allow-wan-status
8 results

ffs-set-segment

Blame
  • ffs-set-segment 304 B
    #!/bin/sh /etc/rc.common
    
    START=97
    
    start () {
        uci set fastd.mesh_vpn.on_connect='/usr/sbin/ffs-set-segment'
        if [ -d "/proc/$(cat /var/run/fastd.mesh_vpn.pid)" ]; then
            /etc/init.d/fastd restart
        fi
    
        /etc/init.d/micrond enable
        /etc/init.d/micrond restart
    }
    
    stop() {
        true
    }