Changes between Version 8 and Version 9 of ClientSetupLogicWinSix


Ignore:
Timestamp:
Sep 25, 2007, 10:50:49 AM (17 years ago)
Author:
romw
Comment:

More Updates

Legend:

Unmodified
Added
Removed
Modified
  • ClientSetupLogicWinSix

    v8 v9  
    268268{{{
    269269
     270GetProperty("BOINC_USERNAME", strBOINCUsername)
     271IF strBOINCUsername IS NULL THEN
     272    strBOINCUsername = "boinc_" + strComputerName
     273END IF
     274
     275GetProperty("BOINC_PROJECT_USERNAME", strBOINCProjectUsername)
     276IF strBOINCProjectUsername IS NULL THEN
     277    strBOINCProjectUsername = "boinc_project_" + strComputerName
     278END IF
     279
     280IF GetGroup("boinc_administrators") NOT EXISTS THEN
     281    CreateGroup("boinc_administrators")
     282    AddUserToGroup("Administrator")
     283    AddUserToGroup(GetCurrentUsername())
     284    AddUserToGroup(strBOINCUsername)
     285END IF
     286   
     287IF GetGroup("boinc_project") NOT EXISTS THEN
     288    CreateGroup("boinc_project")
     289    AddUserToGroup(strBOINCProjectUsername)
     290END IF
     291
    270292}}}
    271293