Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > 9e9b7aacf57cf9e9f734f8b1f217b941 > scriptlet

sonypid-1.9.1-6mdv2009.0.i586.rpm

POSTIN

/bin/sh
if [ ! -c /dev/sonypi ]; then
	rm -f /dev/sonypi
	mknod /dev/sonypi c 10 250
fi
grep 'alias char-major-10-250 sonypi' /etc/modules.conf > /dev/null
RETVAL=$?
if [ $RETVAL -ne 0 ]; then
	echo 'alias char-major-10-250 sonypi' >> /etc/modules.conf
	echo 'options sonypi minor=250' >> /etc/modules.conf
fi