1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-08 04:51:06 -07:00
moth/packages/mcp/service/eth0/run

8 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