blob: 9440cc46e96699c5e866a0ecbb51b2234983ee7c [file] [log] [blame]
#!/bin/sh
#
# Returns 0 (true) if this device's platform string indicates it
# is a SpaceCast appliance, and 1 (false) otherwise. A GFSC
# has a hard drive and a satellite tuner.
#
# This might be extended later to include other model numbers.
#
. /etc/utils.sh
read plat </etc/platform
if startswith "$plat" 'GFSC'; then
exit 0
else
exit 1
fi