Index: branches/iFabio/Chameleon/package/Scripts/Advanced/ForceHPET/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/ForceHPET/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/ForceHPET/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add ForceHPET for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if ForceHPET has been written or not
+ForceHPETCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written ForceHPET Yet
+ if "" in line and ForceHPETCheck == False:
+ line = " ForceHPET\n"
+ line += " Yes\n"
+ line += "\n"
+ ForceHPETCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/ForceHPET/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/EHCIacquire/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/EHCIacquire/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/EHCIacquire/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add EHCIacquire for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if EHCIacquire has been written or not
+EHCIacquireCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written EHCIacquire Yet
+ if "" in line and EHCIacquireCheck == False:
+ line = " EHCIacquire\n"
+ line += " Yes\n"
+ line += "\n"
+ EHCIacquireCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/EHCIacquire/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/VBIOS/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/VBIOS/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/VBIOS/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add VBIOS for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if VBIOS has been written or not
+VBIOSCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written VBIOS Yet
+ if "" in line and VBIOSCheck == False:
+ line = " VBIOS\n"
+ line += " Yes\n"
+ line += "\n"
+ VBIOSCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/VBIOS/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/GUI/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/GUI/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/GUI/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add GUI for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if GUI has been written or not
+GUICheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written GUI Yet
+ if "" in line and GUICheck == False:
+ line = " GUI\n"
+ line += " No\n"
+ line += "\n"
+ GUICheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
\ No newline at end of file
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/GUI/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/SMBIOSdefaults/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/SMBIOSdefaults/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/SMBIOSdefaults/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add SMBIOSdefault for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if SMBIOSdefault has been written or not
+SMBIOSdefaultCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written SMBIOSdefault Yet
+ if "" in line and SMBIOSdefaultCheck == False:
+ line = " SMBIOSdefault\n"
+ line += " Yes\n"
+ line += "\n"
+ SMBIOSdefaultCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/SMBIOSdefaults/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/UseMemDetect/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/UseMemDetect/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/UseMemDetect/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add UseMemDetect for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if UseMemDetect has been written or not
+UseMemDetectCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written UseMemDetect Yet
+ if "" in line and UseMemDetectCheck == False:
+ line = " UseMemDetect\n"
+ line += " No\n"
+ line += "\n"
+ UseMemDetectCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/UseMemDetect/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/LegacyLogo/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/LegacyLogo/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/LegacyLogo/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add LegacyLogo for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if LegacyLogo has been written or not
+LegacyLogoCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written LegacyLogo Yet
+ if "" in line and LegacyLogoCheck == False:
+ line = " LegacyLogo\n"
+ line += " Yes\n"
+ line += "\n"
+ LegacyLogoCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/LegacyLogo/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/Wake/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/Wake/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/Wake/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add Wake for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if Wake has been written or not
+WakeCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written Wake Yet
+ if "" in line and WakeCheck == False:
+ line = " Wake\n"
+ line += " Yes\n"
+ line += "\n"
+ WakeCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/Wake/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/BootBanner/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/BootBanner/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/BootBanner/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add BootBanner for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if BootBanner has been written or not
+BootBannerCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written BootBanner Yet
+ if "" in line and BootBannerCheck == False:
+ line = " BootBanner\n"
+ line += " No\n"
+ line += "\n"
+ BootBannerCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/BootBanner/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/UHCIreset/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/UHCIreset/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/UHCIreset/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add UHCIreset for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if UHCIreset has been written or not
+UHCIresetCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written UHCIreset Yet
+ if "" in line and UHCIresetCheck == False:
+ line = " UHCIreset\n"
+ line += " Yes\n"
+ line += "\n"
+ UHCIresetCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/UHCIreset/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/ShowInfo/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/ShowInfo/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/ShowInfo/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add ShowInfo for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if ShowInfo has been written or not
+ShowInfoCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written ShowInfo Yet
+ if "" in line and ShowInfoCheck == False:
+ line = " ShowInfo\n"
+ line += " No\n"
+ line += "\n"
+ ShowInfoCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
\ No newline at end of file
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/ShowInfo/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/Wait/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/Wait/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/Wait/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add Wait for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if Wait has been written or not
+WaitCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written Wait Yet
+ if "" in line and WaitCheck == False:
+ line = " Wait\n"
+ line += " Yes\n"
+ line += "\n"
+ WaitCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/Wait/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/UseNvidiaROM/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/UseNvidiaROM/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/UseNvidiaROM/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add UseNvidiaROM for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if UseNvidiaROM has been written or not
+UseNvidiaROMCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written UseNvidiaROM Yet
+ if "" in line and UseNvidiaROMCheck == False:
+ line = " UseNvidiaROM\n"
+ line += " Yes\n"
+ line += "\n"
+ UseNvidiaROMCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/UseNvidiaROM/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/ForceWake/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/ForceWake/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/ForceWake/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add ForceWake for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if ForceWake has been written or not
+ForceWakeCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written ForceWake Yet
+ if "" in line and ForceWakeCheck == False:
+ line = " ForceWake\n"
+ line += " Yes\n"
+ line += "\n"
+ ForceWakeCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/ForceWake/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/UseAtiROM/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/UseAtiROM/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/UseAtiROM/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add UseAtiROM for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if UseAtiROM has been written or not
+UseAtiROMCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written UseAtiROM Yet
+ if "" in line and UseAtiROMCheck == False:
+ line = " UseAtiROM\n"
+ line += " Yes\n"
+ line += "\n"
+ UseAtiROMCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/UseAtiROM/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/Advanced/QuietBoot/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/Advanced/QuietBoot/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/Advanced/QuietBoot/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add QuietBoot for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if QuietBoot has been written or not
+QuietBootCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written QuietBoot Yet
+ if "" in line and QuietBootCheck == False:
+ line = " QuietBoot\n"
+ line += " Yes\n"
+ line += "\n"
+ QuietBootCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/Advanced/QuietBoot/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GenerateCStates/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/GenerateCStates/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/GenerateCStates/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add GenerateCStates for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if GenerateCStates has been written or not
+GenerateCStatesCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written GenerateCStates Yet
+ if "" in line and GenerateCStatesCheck == False:
+ line = " GenerateCStates\n"
+ line += " Yes\n"
+ line += "\n"
+ GenerateCStatesCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GenerateCStates/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/DropSSDT/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/DropSSDT/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/DropSSDT/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add DropSSDT for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if DropSSDT has been written or not
+DropSSDTCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written DropSSDT Yet
+ if "" in line and DropSSDTCheck == False:
+ line = " DropSSDT\n"
+ line += " Yes\n"
+ line += "\n"
+ DropSSDTCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/DropSSDT/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add EthernetBuiltIn for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if EthernetBuiltIn has been written or not
+EthernetBuiltInCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written DropSSDT Yet
+ if "" in line and EthernetBuiltInCheck == False:
+ line = " EthernetBuiltIn\n"
+ line += " Yes\n"
+ line += "\n"
+ EthernetBuiltInCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/EthernetBuiltIn/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/InstantMenu/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/InstantMenu/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/InstantMenu/postinstall (revision 323)
@@ -0,0 +1,40 @@
+#!/usr/bin/python
+# Script to add Instant Menu for Chameleon boot loaders
+# Copyright (C) tonymacx86 LLC
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if Instant Menu has been written or not
+InstantMenuCheck = False
+
+body = ""
+
+for line in infile:
+ # if Timeout is there, advance the next line to
+ # read past it, and then change the lines to read
+ # "Instant Menu<\key>" and "Yes"
+ if "Timeout" in line:
+ line = infile.next()
+ line = " Instant Menu\n"
+ line += " Yes\n"
+ InstantMenuCheck = True
+
+ # if we finish the tags and haven't written Instant Menu Yet
+ if "" in line and InstantMenuCheck == False:
+ line = " Instant Menu\n"
+ line += " Yes\n"
+ line += "\n"
+ InstantMenuCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/InstantMenu/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/GraphicsEnabler/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/GraphicsEnabler/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add GraphicsEnabler for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if GraphicsEnabler has been written or not
+GraphicsEnablerCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written GraphicsEnabler Yet
+ if "" in line and GraphicsEnablerCheck == False:
+ line = " GraphicsEnabler\n"
+ line += " Yes\n"
+ line += "\n"
+ GraphicsEnablerCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GraphicsEnabler/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/RestartFix/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/RestartFix/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/RestartFix/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add RestartFix for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if RestartFix has been written or not
+RestartFixCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written RestartFix Yet
+ if "" in line and RestartFixCheck == False:
+ line = " RestartFix\n"
+ line += " No\n"
+ line += "\n"
+ RestartFixCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/RestartFix/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add CSTUsingSystemIO for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if CSTUsingSystemIO has been written or not
+CSTUsingSystemIOCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written CSTUsingSystemIO Yet
+ if "" in line and CSTUsingSystemIOCheck == False:
+ line = " CSTUsingSystemIO\n"
+ line += " Yes\n"
+ line += "\n"
+ CSTUsingSystemIOCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/CSTUsingSystemIO/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/arch/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/arch/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/arch/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add arch for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if arch has been written or not
+archCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written arch Yet
+ if "" in line and archCheck == False:
+ line = " arch\n"
+ line += " i386\n"
+ line += "\n"
+ archCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/arch/postinstall
___________________________________________________________________
Added: svn:executable
+ *
Index: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GeneratePStates/postinstall
===================================================================
--- branches/iFabio/Chameleon/package/Scripts/BaseOptions/GeneratePStates/postinstall (revision 0)
+++ branches/iFabio/Chameleon/package/Scripts/BaseOptions/GeneratePStates/postinstall (revision 323)
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+# Script to add GeneratePStates for Chameleon boot loaders
+
+import sys
+import os
+
+vol = str(sys.argv[3])
+boot = "/Extra/org.chameleon.Boot.plist"
+plist = vol + boot
+infile = open(plist, "r")
+# check if GeneratePStates has been written or not
+GeneratePStatesCheck = False
+
+body = ""
+
+for line in infile:
+ # if we finish the tags and haven't written GeneratePStates Yet
+ if "" in line and GeneratePStatesCheck == False:
+ line = " GeneratePStates\n"
+ line += " Yes\n"
+ line += "\n"
+ DropSSDTCheck = True
+
+ body += line
+
+infile.close()
+
+outfile = open(plist, "w")
+outfile.write(body)
+outfile.close()
Property changes on: branches/iFabio/Chameleon/package/Scripts/BaseOptions/GeneratePStates/postinstall
___________________________________________________________________
Added: svn:executable
+ *