#!/bin/bash function restart_dnsmasq() { echo -n "lxd: restart dnsmasq... " lxc network get lxdbr0 raw.dnsmasq >/tmp/dnsmaq.conf lxc network set lxdbr0 raw.dnsmasq - </tmp/dnsmaq.conf echo "OK"} ## MAIN. "$MIAOU_BASEDIR/lib/init.sh"restart_dnsmasq
#!/bin/bash
function restart_dnsmasq() {
echo -n "lxd: restart dnsmasq... "
lxc network get lxdbr0 raw.dnsmasq >/tmp/dnsmaq.conf
lxc network set lxdbr0 raw.dnsmasq - </tmp/dnsmaq.conf
echo "OK"
}
## MAIN
. "$MIAOU_BASEDIR/lib/init.sh"
restart_dnsmasq