#!/bin/sh

if [ -f /usr/spool/locks/LCK..cua ]
then
    echo "/dev/cua is locked" 2>&1
    exit 1
fi

chown root /dev/cua
chmod 666 /dev/cua
