dot

packages and services management
Log | Files | Refs | README

commit 3bec40f80561205d21b7e8489d16291b6fcce788
parent 7fd634f263eabe13d6174c90c719b61cc4b97672
Author: Josuah Demangeon <mail@josuah.net>
Date:   Tue, 10 Apr 2018 02:56:09 +0200

tinc: run tinc-up with correct conf dir

Diffstat:
Mrun/tinc/tinc-up | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/run/tinc/tinc-up b/run/tinc/tinc-up @@ -2,10 +2,10 @@ case "$(uname)" in (*BSD) - ifconfig "${INTERFACE}" "$(tinc get subnet)" netmask 255.255.255.0 + ifconfig "$INTERFACE" "$(tinc -c . get subnet)" netmask 255.255.255.0 ;; (Linux) - ip link set "${INTERFACE}" up - ip addr add "$(tinc get subnet | sed q)/24" dev "${INTERFACE}" + ip link set "$INTERFACE" up + ip addr add "$(tinc -c . get subnet | sed q)/24" dev "$INTERFACE" ;; esac