]> git.cameronkatri.com Git - apple_cmds.git/blob - system_cmds/getty.tproj/generate_plist.sh
adv_cmds: Fix BINDIRs
[apple_cmds.git] / system_cmds / getty.tproj / generate_plist.sh
1 #!/bin/sh
2 set -e
3 set -x
4
5 cp "${SCRIPT_INPUT_FILE_0}" "${SCRIPT_OUTPUT_FILE_0}"
6 case "$PLATFORM_NAME" in
7 iphone*|appletv*|watch*|bridge*)
8 ;;
9 macosx)
10 /usr/libexec/PlistBuddy -c "Add :Disabled bool true" "${SCRIPT_OUTPUT_FILE_0}"
11 ;;
12 *)
13 echo "Unsupported platform: $PLATFORM_NAME"
14 exit 1
15 ;;
16 esac