#!/bin/sh #BLURB="Enable/disable vde2 at boot" # # System setup script for Slackware # # T_PX=$1 TMP=/var/log/setup/tmp if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then dialog --title "ENABLE Virtual Distributed Ethernet AT BOOT?" --yesno \ "VDE is an ethernet compliant virtual network which includes tools such \ as 'vde_switch' and 'vdeqemu'. VDE switch has several virtual ports \ where virtual machines, applications, virtual interfaces and \ connectivity tools can be virtually plugged in. VDE qemu works as a \ wrapper for running qemu/kvm virtual machines that connects \ transparently to a specified vde_switch." 10 70 if [ $? = 0 ]; then chmod 755 /etc/rc.d/rc.vde2 else chmod 644 /etc/rc.d/rc.vde2 fi fi