5 # This script is executed at the end of each multiuser runlevel.
6 # Make sure that the script will "exit 0" on success or any other
9 # In order to enable or disable this script just change the execution
12 # By default this script does nothing.
16 ip_address=$(ifconfig eth0 | grep "inet " | awk '{ print $2 }' | cut -d ":" -f 2)
17 ip_netmask=$(ifconfig eth0 | grep "inet " | awk '{ print $4 }' | cut -d ":" -f 2)
18 remote_ip=$(ipcalc $ip_address/$ip_netmask | grep HostMin | awk '{ print $2}')
24 # Disable error exit (not usefull for this command)
26 #wget -q -T 3 -t 1 -O /dev/null http://$(getRemoteIp):8080/sdvm_started
28 VBoxControl guestproperty set SDVMStarted True