moth/packages/mcp/service/eth0/run

9 lines
131 B
Bash
Executable File

#! /bin/sh -e
hostname mcp
ifconfig eth0 10.0.0.2 netmask 255.255.0.0
route add default gw 10.0.0.1
exec inotifyd true $(pwd):x