Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 47947 | Differences between
and this patch

Collapse All | Expand All

(-)slmodem-2.9.7-r2.ebuild (-6 / +7 lines)
Lines 59-67 Link Here
59
		insinto /etc/modules.d/; newins ${FILESDIR}/${PN}-2.9.modules ${PN}
59
		insinto /etc/modules.d/; newins ${FILESDIR}/${PN}-2.9.modules ${PN}
60
	elif [ -e ${ROOT}/dev/.udev ] ; then
60
	elif [ -e ${ROOT}/dev/.udev ] ; then
61
	# udev
61
	# udev
62
		dodir /etc/udev/rules.d/
62
	# Dragonheart, you said this isn't needed? well, the rule looks ok, so i'll leave it
63
		echo 'KERNEL="slamr", NAME="slamr0", SYMLINK="modem"' > \
63
	# up to you if you want to keep this or not.
64
			 ${D}/etc/udev/rules.d/55-${PN}.rules
64
	#	dodir /etc/udev/rules.d/
65
	#	echo 'KERNEL="slamr", NAME="slamr0", SYMLINK="modem"' > \
66
	#		 ${D}/etc/udev/rules.d/55-${PN}.rules
65
		dodir /etc/udev/permissions.d
67
		dodir /etc/udev/permissions.d
66
		echo 'slamr*:root:dialout:0660' > \
68
		echo 'slamr*:root:dialout:0660' > \
67
			${D}/etc/udev/permissions.d/55-${PN}.permissions
69
			${D}/etc/udev/permissions.d/55-${PN}.permissions
Lines 108-116 Link Here
108
110
109
	elif [ -e ${ROOT}/dev/.udev ]
111
	elif [ -e ${ROOT}/dev/.udev ]
110
	then
112
	then
111
		#doesn't work - looking for fix.
113
		ebegin "Restarting udev to reread udev rules"
112
		ebegin "Restarting udevd to reread udev rules"
114
			udevstart
113
		#	killall -HUP udevd &>/dev/null
114
		eend 0
115
		eend 0
115
	fi
116
	fi
116
117

Return to bug 47947