01-05-2009
Both of these work if ran manually.
Here is my original that seemed to work for a little while but does not now.
Quote:
#!/bin/bash
VBoxHeadless -s merrywin1 -v off &
Here is a different one I tried that doesn't seem to work.
Quote:
#!/bin/bash
#
#
#merrywin1 start stop script
#
#
#ident "@(#)merrywin1 1.1 08/12/30 SMI"
case "$1" in
'start')
/opt/VirtualBox/VBoxManage startvm merrywin1 &
;;
'stop')
/opt/VirtualBox/VBoxManage controlvm merrywin1 poweroff
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm running Solaris 5.9 and Apache 2....
I've created a startup script for Apache....but it doesn't work!!!
it resides in /etc/init.d and has a link to /etc/rc3.d
and if it run it as /etc/init.d/apache_start stop it stops the httpd services and /etc/init.d/apache_start start starts the... (3 Replies)
Discussion started by: Zak
3 Replies
2. Shell Programming and Scripting
hi experts,
i have some problem with my solaris 8 v890 server, is :
the server running process called SS7 below is example process :
PID STAT MODE HOST MUX OBJECT
384 ok LX|A USSDGmdn-1a spm/0 daemon
385 ok LX|A USSDGmdn-1a spm/2 ... (0 Replies)
Discussion started by: bucci
0 Replies
3. Virtualization and Cloud Computing
Hi,
we try to export a Solaris installation from one laptop to another. I installed Solaris as 64 bit guest OS on my Mac in VirtualBox. After the transfer of the exported files to the other laptop (Dell Studio with T4300 Intel CPU) we try to start the guest in 64 bit mode but the guest only runs... (2 Replies)
Discussion started by: DukeNuke2
2 Replies
4. UNIX for Dummies Questions & Answers
Hi Gurus
can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?
regards,
Israel. (9 Replies)
Discussion started by: iga3725
9 Replies
5. Solaris
Is there a way to debug the startup on a VT100 running Solaris 5? I have a problem related to file attributes that are resetting to there prior settings when the machine reboots. (3 Replies)
Discussion started by: jimcz2it
3 Replies
6. UNIX for Dummies Questions & Answers
I have a VirtualBox w2008r2 Domain Controller running on a Solaris 10 server. I have the time on the Virtual machine set to Default time sync (bios clock) and the Solaris server set to sync to
0 8,20 * * * /usr/sbin/ntpdate tick.usno.navy.mil tock.usno.navy.mil >> /tmp/ntp.log
My problem is... (2 Replies)
Discussion started by: SIFT3R
2 Replies
7. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
8. Solaris
Hi,
I've installed dynatrace on a SunOS(5.10) & I need to update its agent path in JVM start up script.
Where can I find or which script starts JVM?
Some Details here :
Java location : /<server location>/oracle/forms/FRHome_1/jdk/jre/bin
Please help me in this. I did some research... (2 Replies)
Discussion started by: raj100
2 Replies
9. Solaris
Hi there,
I am new to this operating system, so would like to ask for directions on how to go about doing Solaris 10 dual boot with freeBSD on a virtual machine (virtualbox).
Do you have to partition the disk to allow for another OS to occupy? Like in windows? I tried doing this but failed... (6 Replies)
Discussion started by: czy
6 Replies
LEARN ABOUT OSF1
suninstall
suninstall(1M) System Administration Commands suninstall(1M)
NAME
suninstall - install the Solaris operating system
SYNOPSIS
suninstall
DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of
suninstall. suninstall is symbolically linked to install-solaris.
suninstall is a forms-based and graphical subsystem for installing the operating system.
suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal-
lation Guide: Basic Installations for more details.
suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa-
tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements.
USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5)
Solaris 10 Installation Guide: Basic Installations
NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus.
SunOS 5.10 9 Sep 2004 suninstall(1M)