Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dspinella:zlib-ng-staging
setserial
setserial-2.17-binaryInUsr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File setserial-2.17-binaryInUsr.patch of Package setserial
--- rc.serial.orig +++ rc.serial @@ -26,12 +26,21 @@ DRIVER_NAME=serial MODULE_REGEXP="serial\b" ALLDEVS="/dev/ttyS?" -if /bin/ls /dev/ttyS?? >& /dev/null ; then +if test -x /usr/bin/ls ; then + LS=/usr/bin/ls +elif test -x /bin/ls ; then + LS=/bin/ls +fi +if $LS /dev/ttyS?? >& /dev/null ; then ALLDEVS="$ALLDEVS /dev/ttyS??" fi SETSERIAL="" -if test -x /bin/setserial ; then +if test -x /usr/bin/setserial ; then + SETSERIAL=/usr/bin/setserial +elif test -x /usr/sbin/setserial ; then + SETSERIAL=/usr/sbin/setserial +elif test -x /bin/setserial ; then SETSERIAL=/bin/setserial elif test -x /sbin/setserial ; then SETSERIAL=/sbin/setserial
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