remove nfsroot for client
[pxelator] / bin / start.sh
index a6b14f3..598e7e8 100755 (executable)
@@ -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