#
# This script will delete TTY node 'ttyr' which generated by udev automatically
#
tmp_file=/tmp/find-tty-node

find /dev/ttyr* -perm 600 > $tmp_file

if [ -s $tmp_file ]
then
	awk '{system("rm -f "$1)}' $tmp_file
fi

rm -f $tmp_file
