]> git.saurik.com Git - apple/system_cmds.git/blob - getty.tproj/generate_plist.sh
system_cmds-790.tar.gz
[apple/system_cmds.git] / 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