zebra bars on table from MongoDB store
[pxelator] / bin / start.sh
index a25e1eb..598e7e8 100755 (executable)
@@ -1,3 +1,9 @@
 #!/bin/sh -x
 
-sudo 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