ports/emulators/vboxtool/files/patch-script-vboxtool
Michael Scheidell fd7ef396cd Addport: emulators/vtoolbox Provides effective control of virtual machines of VirtualBox
icon-external-link.png (virtualization solution) on a FreeBSD
headless server, published as free and open source software.

WWW: http://vboxtool.sourceforge.net

PR:		ports/169211
Submitted by:	pjm
2012-07-13 09:17:01 +00:00

37 lines
1.5 KiB
Text

--- script/vboxtool.org 2012-04-29 21:59:59.000000000 +0200
+++ script/vboxtool 2012-06-16 01:26:32.000000000 +0200
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
#
# vboxtool: Utility to retrieve status and control VirtualBox sessions
#
@@ -55,7 +55,7 @@
echo " --version|version Version info."
echo " --help|help This help."
echo ""
- echo "*Configuration. vboxtool depends on two config files, located in /etc/vboxtool."
+ echo "*Configuration. vboxtool depends on two config files, located in /usr/local/etc/vboxtool."
echo ""
echo "Configuration file $machines_conf:"
echo "- each line in this file is a separate machine"
@@ -84,7 +84,7 @@
echo ""
echo "*Start at boot, save on halt. VBoxTool is capable for autostart sessions at"
echo "boot time and autosave sessions when host is stopped. This depends on "
- echo "/etc/vboxtool/vboxtool.conf. In here, the variable vbox_user must be filled:"
+ echo "/usr/local/etc/vboxtool/vboxtool.conf. In here, the variable vbox_user must be filled:"
echo "vbox_user='<user name>'"
echo "Note the quotes. Fill for <user name> the name of the user under which"
echo "sessions are installed/running."
@@ -545,8 +545,8 @@
# Some constants
version='0.5'
-machines_conf='/etc/vboxtool/machines.conf'
-vboxtool_conf='/etc/vboxtool/vboxtool.conf'
+machines_conf='/usr/local/etc/vboxtool/machines.conf'
+vboxtool_conf='/usr/local/etc/vboxtool/vboxtool.conf'
vbox_folder="$HOME/.VirtualBox"
log_file="$vbox_folder/vboxtool.log"