Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
ozerocdoff
ozerocdoff-udevinfo.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ozerocdoff-udevinfo.diff of Package ozerocdoff
Index: b/hal-serial-hsotype =================================================================== --- a/hal-serial-hsotype +++ b/hal-serial-hsotype @@ -8,12 +8,12 @@ # activate this script by adding this rule to the hso serial sub device: # <append key="info.callouts.preprobe" type="strlist">hal-serial-hsotype</append> # case "${HALD_ACTION}" in preprobe|add) - UDEV_PATH=$(udevinfo --name $HAL_PROP_LINUX_DEVICE_FILE --query=path ) - HSOTYPE=$( cat /sys${UDEV_PATH}/hsotype ) + UDEV_PATH=$(udevadm info --name $HAL_PROP_LINUX_DEVICE_FILE --query=path ) + read HSOTYPE < /sys${UDEV_PATH}/hsotype /usr/bin/hal-set-property --udi ${UDI} --key "info.hsotype" --string "${HSOTYPE}" exit 0 ;; *) echo "unsupported HALD_ACTION: ${HALD_ACTION}"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor