#!/bin/bash
#
# KNOPPIX on User-mode Linux support daemon killer
#
# GPL
#
# SUZAKI Kuniyasu <k.suzaki@aist.go.jp>
# TAN Hideyuki <tanh@alpha.co.jp>
#
sudo kill -KILL `cat /var/run/dhcpd.pid `
sudo rm -f /var/run/dhcpd.pid
sudo kill -KILL `cat /var/run/dnsmasq.pid `
sudo rm -f /var/run/dnsmasq.pid
sudo kill -KILL `cat /var/run/uml_switch.pid `
sudo rm -f /var/run/uml_switch.pid

[ -f /tmp/.uml ] && sudo rm -rf /tmp/.uml

for i in 90 91 92 93 94 95 96 97 98 99 100
do
xhost -10.0.0.$i
done
