Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 44f5aa56099b5a2ab0682a4bec936a1b > scriptlet

spicctrl-1.6.1-1mdk.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