Changeset 42384 in vbox for trunk/src/VBox/Installer/darwin/VirtualBox/VBoxAutostartDarwin.sh
- Timestamp:
- Jul 25, 2012 11:27:32 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VirtualBox/VBoxAutostartDarwin.sh
r42379 r42384 28 28 29 29 # Check for known home directories and shells for daemons 30 if [[ "${HOMEDIR}" == "/var/empty" || "${HOMEDIR}" == "/dev/null" 30 if [[ "${HOMEDIR}" == "/var/empty" || "${HOMEDIR}" == "/dev/null" || "${HOMEDIR}" == "/var/root" 31 31 || "${USERSHELL}" == "/usr/bin/false" || "${USERSHELL}" == "/dev/null" || "${USERSHELL}" == "/usr/sbin/uucico" ]] 32 32 then … … 35 35 36 36 # Start the daemon 37 su ${user} -c '/Applications/VirtualBox.app/Contents/MacOS/VBoxAutostart --start --background --config /etc/vbox/autostart.cfg'37 su ${user} -c "/Applications/VirtualBox.app/Contents/MacOS/VBoxAutostart --quiet --start --background --config ${1}" 38 38 39 39 done … … 41 41 42 42 case $1 in 43 --start) vboxStartAllUserVms ;;43 --start) vboxStartAllUserVms ${2};; 44 44 *) echo "Unknown option ${1}";; 45 45 esac
Note:
See TracChangeset
for help on using the changeset viewer.