source: MondoRescue/branches/3.3/mindi-busybox/examples/var_service/zcip_if/run@ 3770

Last change on this file since 3770 was 3621, checked in by Bruno Cornec, 10 years ago

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

  • Property svn:executable set to *
File size: 252 bytes
Line 
1#!/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"
Note: See TracBrowser for help on using the repository browser.