rpms/udev/F-7 fw_unit_symlinks.sh,NONE,1.1
Harald Hoyer (harald)
fedora-extras-commits at redhat.com
Fri Jul 27 19:07:49 UTC 2007
- Previous message (by thread): rpms/perl-MasonX-Interp-WithCallbacks/devel .cvsignore, 1.2, 1.3 perl-MasonX-Interp-WithCallbacks.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/policycoreutils/devel policycoreutils-gui.patch, 1.21, 1.22 policycoreutils.spec, 1.429, 1.430
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: harald
Update of /cvs/pkgs/rpms/udev/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17217
Added Files:
fw_unit_symlinks.sh
Log Message:
new kernels in F-7 need new rules
--- NEW FILE fw_unit_symlinks.sh ---
#!/bin/sh
SYSFS=/sys
NAME=$1
NUM=$2
for i in "${SYSFS}${DEVPATH}/${NAME}.*/specifier_id"; do
if [ ! -f "$i" ]; then
continue
fi
SPECID="`cat $i`"
if [ $((SPECID)) -eq $((0x00609e)) ]; then
echo -n "sbp2-${NUM} "
elif [ $((SPECID)) -eq $((0x00a02d)) ]; then
SWVER="`cat ${i%/specifier_id}/version`"
if [ $((SWVER)) -ge $((0x100)) -a $((SWVER)) -lt $((0x110)) ]; then
echo -n "iidc${NUM} "
elif [ $((SWVER)) -eq $((0x10001)) ]; then
echo -n "avc${NUM} "
elif [ $((SWVER)) -ge $((0x14000)) -a $((SWVER)) -le $((0x14001)) ]; then
echo -n "vendorfw${NUM} "
fi
fi
done
echo
- Previous message (by thread): rpms/perl-MasonX-Interp-WithCallbacks/devel .cvsignore, 1.2, 1.3 perl-MasonX-Interp-WithCallbacks.spec, 1.1, 1.2 sources, 1.2, 1.3
- Next message (by thread): rpms/policycoreutils/devel policycoreutils-gui.patch, 1.21, 1.22 policycoreutils.spec, 1.429, 1.430
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list