--- bin/start.sh 2009/08/01 00:39:36 106 +++ bin/start.sh 2009/08/11 12:38:04 196 @@ -1,4 +1,9 @@ #!/bin/sh -x -sudo id -exec perl -Ilib/PXElator -Ilib -Mhttpd -e httpd::start +if [ ! -z "$1" ] ; then + DEV=$1 +fi + +sudo /etc/init.d/dnsmasq stop +echo $DEV +sudo DEV=$DEV perl -Ilib/PXElator -Ilib -Mhttpd -e httpd::start