#!/bin/sh

# key off the existence of this file
[ -e "/etc/ioline/ioline.local" ] && exit 0

echo " * Applying hardware pinmask"
pinmask-change --confirm

if [ $? -eq 0 ]
then
	echo "   - completed"
else
	echo "*** WARNING: Pinmask did not complete successfully."
	echo "*** WARNING: Please send the above output to support@guralp.com ."
fi
