Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 560ecbbafda4cfd164bae02ab9e40597 > scriptlet

brltty-4.3-12.fc18.i686.rpm

POSTIN

/bin/sh
devices="/dev/vcsa /dev/vcsa0 /dev/vcc/a"
install=true
for device in ${devices}
do
   if [ -c "${device}" ]
   then
      install=false
      break
   fi
done
if $install
then
   device="$(set -- ${devices} && echo "${1}")"
   mkdir -p "${device%/*}"
   mknod -m o= "${device}" c 7 128
   chmod 660 "${device}"
   chown root.tty "${device}"
fi
exit 0