This repo is obsolete, please see git://git.code.sf.net/p/dummynet/code@master
[ipfw.git] / planetlab / netconfig
1 #!/bin/sh
2 #
3 # Marta Carbone, Luigi Rizzo
4 # Copyright (C) 2009 Universita` di Pisa
5 # $Id$
6 #
7 # This script is the frontend to be used with the vsys system.
8 # It simply passes information to the backend and gets back the reply
9
10 PIPE_IN=/vsys/ipfw-be.in
11 PIPE_OUT=/vsys/ipfw-be.out
12
13 sudo sh -c "echo $* >> ${PIPE_IN}"
14 sudo sh -c "cat ${PIPE_OUT}"