# default distro is the base debian/fedora type. others are fai & arch.
# for no pxe server, use a no-op like : or true.
# default distro is the base debian/fedora type. others are fai & arch.
# for no pxe server, use a no-op like : or true.
for os boot. Sometimes on debian, there is a 3rd one shortly
after the 2nd. I can't remember exactly why this caused a
problem, but I'm hoping the sleep will take care of it.
for os boot. Sometimes on debian, there is a 3rd one shortly
after the 2nd. I can't remember exactly why this caused a
problem, but I'm hoping the sleep will take care of it.
-w Setup pxe, then wait like -a.
-h|--help Print help and exit
-w Setup pxe, then wait like -a.
-h|--help Print help and exit
${type:-:}|ssh wrt "cedit pxe /etc/dnsmasq.conf || /etc/init.d/dnsmasq restart
$([[ $type == arch ]] && echo arch-pxe-mount)"
}
${type:-:}|ssh wrt "cedit pxe /etc/dnsmasq.conf || /etc/init.d/dnsmasq restart
$([[ $type == arch ]] && echo arch-pxe-mount)"
}