mount iso subdirectory if in /etc/fstab
[pxelator] / bin / start.sh
1 #!/bin/sh -x
2
3 if [ ! -z "$1" ] ; then
4         DEV=$1
5 fi
6
7 sudo /etc/init.d/dnsmasq stop
8 sudo mount iso
9 echo $DEV
10 sudo DEV=$DEV perl -Ilib/PXElator -Ilib -Mhttpd -e httpd::start