projects
/
pxelator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade webconverger 5.5 -> 6.2
[pxelator]
/
bin
/
start.sh
diff --git
a/bin/start.sh
b/bin/start.sh
index
a25e1eb
..
598e7e8
100755
(executable)
--- a/
bin/start.sh
+++ b/
bin/start.sh
@@
-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