init: drop atv legacy

This commit is contained in:
Stefan Saraev 2015-01-17 22:41:27 +02:00 committed by Stephan Raue
parent cb8d0e462b
commit fb440c9f21

View File

@ -481,11 +481,6 @@
check_update() {
progress "Checking for updates"
# check for ATV1 mach-o-kernel
if [ -f "/flash/com.apple.Boot.plist" -a -f "/flash/boot.efi" ]; then
UPDATE_KERNEL="MACH_KERNEL"
fi
UPDATE_TAR=`ls -1 "$UPDATE_DIR"/*.tar 2>/dev/null | head -n 1`
if [ -f "$UPDATE_DIR/$UPDATE_KERNEL" -a -f "$UPDATE_DIR/$UPDATE_SYSTEM" -o -f "$UPDATE_TAR" ] ; then
if [ "$UPDATE_DISABLED" = "yes" ] ; then