Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/lbfactory/LBFactory.php on line 711

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 181

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 196

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 210

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 238

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 344

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/PHPSessionHandler.php on line 365

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 394

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 587

Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 593

Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 605

Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 599

Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 617

Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 611

Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 627

Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 640

Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 650

Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/wiki/includes/session/Session.php on line 655

Deprecated: MapCacheLRU implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/wiki/includes/libs/MapCacheLRU.php on line 37

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 394

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/wiki/includes/language/Message.php on line 162

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/html/wiki/includes/RawMessage.php on line 0

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/changes/ChannelFeed.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/changes/ChannelFeed.php on line 95

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/WebResponse.php on line 72

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wiki/includes/session/Session.php:48) in /var/www/html/wiki/includes/WebResponse.php on line 72

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561
https://wiki.afp548.com/index.php?action=history&feed=atom&title=Firstboot_Postflight_Commands Firstboot Postflight Commands - Revision history 2026-10-23T22:00:31Z Revision history for this page on the wiki MediaWiki 1.34.0
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/wiki/includes/libs/rdbms/database/Database.php on line 561
https://wiki.afp548.com/index.php?title=Firstboot_Postflight_Commands&diff=236&oldid=prev 208.95.51.187 at 16:15, 1 September 2010 2010-09-01T16:15:01Z <p></p> <p><b>New page</b></p><div>&lt;syntaxhighlight lang=&quot;bash&quot;&gt;<br /> #!/bin/sh<br /> <br /> # Standard settings for images.<br /> # Script is meant to be run as a postflight script in a .pkg file. Also installs startup settings script as a Launchd item which is inside the package /Contents/Resources directory.<br /> <br /> ##### Begin Declare Variables Used by Script #####<br /> <br /> # Declare &#039;defaults&#039;and &#039;PlistBuddy&#039;.<br /> <br /> defaults=&quot;/usr/bin/defaults&quot;<br /> PlistBuddy=&quot;/usr/libexec/PlistBuddy&quot;<br /> <br /> # Declare directory variables.<br /> <br /> PKG_DIR=&quot;$1/Contents/Resources&quot;<br /> SCRIPTS_DIR=&quot;$3/Library/Scripts/CompanyName&quot;<br /> LAUNCHD_DIR=&quot;$3/Library/LaunchDaemons&quot;<br /> PRIVETC_DIR=&quot;$3/private/etc&quot;<br /> PREFS_DIR=&quot;$3/Library/Preferences&quot;<br /> USERPREFS_DIR=&quot;$3/System/Library/User Template/English.lproj/Library/Preferences&quot;<br /> NONLOC_USERPREFS_DIR=&quot;$3/System/Library/User Template/Non_localized/Library/Preferences&quot;<br /> ROOT=&quot;$3/&quot;<br /> UPDATE_DYLD=&quot;$3/usr/bin/update_dyld_shared_cache&quot; # Set variable to location of update_dyld_shared_cache command on target volume.<br /> <br /> ##### End Declare Variables Used by Script #####<br /> <br /> ##### Begin Preference Setting #####<br /> <br /> # These settings can be set on the target volume before startup.<br /> <br /> # Run update_dyld_shared_cache<br /> $UPDATE_DYLD -universal_boot -root $ROOT<br /> <br /> # Display login window as Name and Password.<br /> $defaults write &quot;${PREFS_DIR}/com.apple.loginwindow&quot; SHOWFULLNAME -bool YES<br /> <br /> #Starts the Flurry screensaver over the login window when idle for 60 seconds<br /> $defaults write &quot;${PREFS_DIR}/com.apple.screensaver&quot; loginWindowIdleTime -int 60<br /> $defaults write &quot;${PREFS_DIR}/com.apple.screensaver&quot; loginWindowModulePath &quot;/System/Library/Screen Savers/Flurry.saver&quot;<br /> <br /> # Sets autologout to 60 minutes and enables it<br /> $defaults write &quot;${PREFS_DIR}/.GlobalPreferences&quot; com.apple.autologout.AutoLogOutDelay -int 3600<br /> <br /> # Use encrypted virtual memory.<br /> $defaults write &quot;${PREFS_DIR}/com.apple.virtualMemory&quot; UseEncryptedSwap -bool Yes<br /> <br /> # Set Safari Preferences.<br /> $defaults write &quot;${USERPREFS_DIR}/com.apple.Safari&quot; HomePage http://www.google.com/<br /> $defaults write &quot;${USERPREFS_DIR}/com.apple.Safari&quot; ShowStatusBar -bool YES<br /> <br /> # Set Finder Prefereces.<br /> $defaults write &quot;${USERPREFS_DIR}/com.apple.finder&quot; ShowMountedServersOnDesktop -bool YES<br /> <br /> # Enables Double Click Title bar to Minimize Window<br /> <br /> $defaults write &quot;${NONLOC_USERPREFS_DIR}/.GlobalPreferences&quot; AppleMiniaturizeOnDoubleClick -bool TRUE<br /> <br /> # No .ds-store files on Network Shares<br /> $defaults write &quot;${PREFS_DIR}/com.apple.desktopservices&quot; DSDontWriteNetworkStores true<br /> <br /> # Globally Set Expanded Print Dialouge Box.<br /> $defaults write &quot;${PREFS_DIR}/.GlobalPreferences&quot; PMPrintingExpandedStateForPrint -bool TRUE<br /> <br /> # Use short-name for logging into Network Shares<br /> $defaults write &quot;${PREFS_DIR}/com.apple.NetworkAuthorization&quot; UseDefaultName -bool NO<br /> $defaults write &quot;${PREFS_DIR}/com.apple.NetworkAuthorization&quot; UseShortName -bool YES<br /> <br /> # Set Apple Mouse button 1 to Primary click and button 2 to Secondary click.<br /> $defaults write &quot;${USERPREFS_DIR}/com.apple.driver.AppleHIDMouse&quot; Button1 -integer 1<br /> $defaults write &quot;${USERPREFS_DIR}/com.apple.driver.AppleHIDMouse&quot; Button2 -integer 2<br /> <br /> # Disable Time Machine Offers.<br /> $defaults write &quot;${PREFS_DIR}/com.apple.TimeMachine&quot; DoNotOfferNewDisksForBackup -bool YES<br /> <br /> # Disable Time Machine AutoBackup<br /> $defaults write &quot;${PREFS_DIR}/com.apple.TimeMachine&quot; AutoBackup 0<br /> <br /> # Enables SSH<br /> $PlistBuddy -c &quot;Delete Disabled&quot; $3/System/Library/LaunchDaemons/ssh.plist<br /> <br /> # Allows any user to set dvd region<br /> $PlistBuddy -c &quot;Set :rights:system.device.dvd.setregion.initial:class allow&quot; &quot;$3&quot;/etc/authorization<br /> <br /> # Firewall Settings | 0 = Off | 1 = On For Specific Services | 2 = On For Essential Services<br /> $defaults write &quot;${PREFS_DIR}/com.apple.alf&quot; globalstate -int 0<br /> <br /> ##### End Preferences Setting #####<br /> <br /> exit 0<br /> &lt;/syntaxhighlight&gt;<br /> <br /> [[Category:Settings]][[Category:InstaDMG]]</div> 208.95.51.187