From 416ab8a37f1b07dc9f6c0fb3ff1a8ff2036510b5 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 2 Sep 2010 17:50:49 +0200 Subject: change dir structure --- os-plugins/plugins/qemukvm/files/ifdown | 34 --------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 os-plugins/plugins/qemukvm/files/ifdown (limited to 'os-plugins/plugins/qemukvm/files/ifdown') diff --git a/os-plugins/plugins/qemukvm/files/ifdown b/os-plugins/plugins/qemukvm/files/ifdown deleted file mode 100644 index e741d9ca..00000000 --- a/os-plugins/plugins/qemukvm/files/ifdown +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# Copyright (c) 2009 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# ifdown -# - Script used for network cleanup of qemukvm in stage4 -# ----------------------------------------------------------------------------- - -# get VM_ID through tap name -VM_ID=$(echo $1 | grep -oE "0[0-4]$") -QKTMPDIR=/tmp/qemukvm/${USER}/${VM_ID} -touch /tmp/qemukvm/udhcpd.pids -chmod 666 tmp/qemukvm/udhcpd.pids - -case "$1" in - tapnat0*) - # kill udhcpd - cat ${QKTMPDIR}/udhcpd.pid >> /tmp/qemukvm/udhcpd-unused.pid - ;; - taphost0*) - # kill udhcpd - cat ${QKTMPDIR}/udhcpd.pid >> /tmp/qemukvm/udhcpd-unused.pid - ;; -esac - -# Produce a clean exit status -exit 0 -- cgit v1.2.3-55-g7522