Git Product home page Git Product logo

mac-scripts's Introduction

OS X related scripts

Published by the Mac team at the University of Oxford IT Services.

The majority of the published content have been build with wider adoption in mind. However, as Oxford uses the Casper Suite it might require more work to adopt this to other management frameworks.

TOC

First Run (first-run)

Script to be run at first boot as part of the Casper Imaging FirstRun:

  • buildAtFirstRun108.sh: Script called after the first reboot of a freshly installed system. Runs all policies for system build in the right order using custom triggers.
Java Browser Plugin (java7-browser-plugin)

Scripts to manage (read disable) the Java 7 browser plug-in and check its status:

  • Java_7_Post_Install.sh: this post-installation script for the Oracle Java 7 installer disables by default the browser plug-in after each installation or update. It is also respects the status of the Java Web Plugin Master Switch. The script also creates a persistent convenience link for the Java version one might use to configure environment variables or use in scripts /Library/Java/JavaVirtualMachines/${VERSION}.
  • Java_7_Plugin_Version_and_Status-ExtAttr.sh:
  • Web_Java_Master_Switch.sh: self-service script to enable the end-user to control the status of the Java 7 browser plugin. This script could be made available in self service to all users or subgroups based on sophisticated scoping mechanisms. Please note that script requires cocaDialog.
Tivoli Storage Manager (tivoli-storage-manager)

Scripts to collect status information on a Tivoli Storage Manager client and backup status.

  • coming soon
Disk Partitioning (partitioning)

Two scripts to be added as pre and post script to Casper Imaging to create second volume for User data named LocalStorage and mounted to /Users.

  • partitionDisk2.pl: First part of the partitioning to create volumes (Macintosh HD, Recovery HD, LocalStorage for user data) before other Casper Imaging tasks. It uses only the first command line argument provided by Casper, the target volume mount point, and obtains other information from extension attributes in the computer's JSS record.
  • partitionDisk2Post.pl: Followup script to partitionDisk2.pl to be run after imaging, performing the following tasks: i) Resizes the Recovery volume on the target disk to the maximum (and original) size, as it may have been resized to 650MB by the OS X installer. ii) Creates an /etc/fstab file on the target volume to mount LocalStorage at the required location.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.