blob: 94a8754650e8c2cc22847bc877d0b8aa9306ea78 [file] [log] [blame]
Denys Vlasenkod32a1a42015-10-24 05:30:58 +02001#!/bin/sh
2
3exec 2>&1
4exec </dev/null
5
6pwd="$PWD"
7
8if="${PWD##*/zcip_}"
9
10echo "* Upping iface $if"
11ip link set dev "$if" up
12
13echo "* Starting zcip"
14exec \
15env - PATH="$PATH" \
16softlimit \
17setuidgid root \
18zcip -fvv \
19 "$if" \
20 "$pwd/zcip_handler"