VirtualBox

Ignore:
Timestamp:
Jul 17, 2012 12:35:07 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79176
Message:

Autostart: Make the path to the autostart database configurable

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r42176 r42178  
    591591                     "                            websrvauthlibrary default|null|<library> |\n"
    592592                     "                            vrdeextpack null|<library> |\n"
     593                     "                            autostartdbpath null|<folder> |\n"
    593594                     "                            loghistorycount <value>\n"
    594595                     "\n");
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageMisc.cpp

    r42176 r42178  
    857857        CHECK_ERROR(systemProperties, COMSETTER(LogHistoryCount)(uVal));
    858858    }
     859    else if (!strcmp(a->argv[0], "autostartdbpath"))
     860    {
     861        /* disable? */
     862        if (!strcmp(a->argv[1], "null"))
     863            CHECK_ERROR(systemProperties, COMSETTER(AutostartDatabasePath)(NULL));
     864        else
     865            CHECK_ERROR(systemProperties, COMSETTER(AutostartDatabasePath)(Bstr(a->argv[1]).raw()));
     866    }
    859867    else
    860868        return errorSyntax(USAGE_SETPROPERTY, "Invalid parameter '%s'", a->argv[0]);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette