Index: trunk/package/Scripts/Advanced/Npci/postinstall =================================================================== --- trunk/package/Scripts/Advanced/Npci/postinstall (revision 0) +++ trunk/package/Scripts/Advanced/Npci/postinstall (revision 1363) @@ -0,0 +1,30 @@ +#!/usr/bin/python +# Script to add Kernel Flags = npci=0x2000 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 Kernel Flags has been written or not +KernelFlagsCheck = False + +body = "" + +for line in infile: + # if we finish the tags and haven't written Kernel Flags Yet + if "" in line and KernelFlagsCheck == False: + line = " Kernel Flags\n" + line += " npci=0x2000\n" + line += "\n" + KernelFlagsCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/Advanced/Npci/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/BaseOptions/EnableC2State/postinstall =================================================================== --- trunk/package/Scripts/BaseOptions/EnableC2State/postinstall (revision 0) +++ trunk/package/Scripts/BaseOptions/EnableC2State/postinstall (revision 1363) @@ -0,0 +1,30 @@ +#!/usr/bin/python +# Script to add EnableC2State 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 EnableC2State has been written or not +EnableC2StateCheck = False + +body = "" + +for line in infile: + # if we finish the tags and haven't written EnableC2State Yet + if "" in line and EnableC2StateCheck == False: + line = " EnableC2State\n" + line += " Yes\n" + line += "\n" + EnableC2StateCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/BaseOptions/EnableC2State/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/BaseOptions/EnableC3State/postinstall =================================================================== --- trunk/package/Scripts/BaseOptions/EnableC3State/postinstall (revision 0) +++ trunk/package/Scripts/BaseOptions/EnableC3State/postinstall (revision 1363) @@ -0,0 +1,30 @@ +#!/usr/bin/python +# Script to add EnableC3State 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 EnableC3State has been written or not +EnableC3StateCheck = False + +body = "" + +for line in infile: + # if we finish the tags and haven't written EnableC3State Yet + if "" in line and EnableC3StateCheck == False: + line = " EnableC3State\n" + line += " Yes\n" + line += "\n" + EnableC3StateCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/BaseOptions/EnableC3State/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Scripts/BaseOptions/EnableC4State/postinstall =================================================================== --- trunk/package/Scripts/BaseOptions/EnableC4State/postinstall (revision 0) +++ trunk/package/Scripts/BaseOptions/EnableC4State/postinstall (revision 1363) @@ -0,0 +1,30 @@ +#!/usr/bin/python +# Script to add EnableC4State 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 EnableC4State has been written or not +EnableC4StateCheck = False + +body = "" + +for line in infile: + # if we finish the tags and haven't written EnableC4State Yet + if "" in line and EnableC4StateCheck == False: + line = " EnableC4State\n" + line += " Yes\n" + line += "\n" + EnableC4StateCheck = True + + body += line + +infile.close() + +outfile = open(plist, "w") +outfile.write(body) +outfile.close() Property changes on: trunk/package/Scripts/BaseOptions/EnableC4State/postinstall ___________________________________________________________________ Added: svn:executable + * Index: trunk/package/Resources/Italian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: trunk/package/Resources/English.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream