This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Change BROWSER_HOMEPAGE to whatever you need, everything else will work as is. | |
BROWSER_HOMEPAGE="http://www.google.com/" | |
## BEGIN FIREFOX | |
if [ -d "/Applications/Firefox.app" ] | |
then | |
#CLear out any imposters, accept no substitutes! | |
rm -f /Applications/Firefox.app/Contents/MacOS/defaults/pref/local-settings.js | |
rm -f /Applications/Firefox.app/Contents/MacOS/mozilla.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Template for first boot script creator. | |
#feel free to modify this to make use of arguments, allowing for script installation on a different volume. | |
#I have made use of nowdoc syntax to intepret the enclosed strings as literal strings with no parsing done. | |
#Harrison Mclean a.k.a h4rm0n1c | |
#better than using cd, we pop this directory off of the stack at the end of the script. | |
pushd /System/Library/StartupItems | |
mkdir FirstRun |
NewerOlder