Author Message

<  Everything Coding  ~  [PATCH] Use realpath instead of readlink to detect init.

PostPosted: Tue Aug 08, 2017 11:12 am Reply with quote
Posts: 1 Joined: Tue Aug 08, 2017 11:07 am
As it is, usb_modeswitch was broken on my distro because of how systemd is configured.
Attachments:
Offline
PostPosted: Wed Aug 09, 2017 7:10 pm Reply with quote
Site Admin Posts: 6443 Joined: Sat Nov 03, 2007 12:30 am
I can see the problem - however, "realpath" is not available on every system I checked.

Did you try the parameter -f with "readlink"? That seems to do the job, following a chain of symlinks up to the real file.
If you can confirm this, I'll add a fix to the usb_modeswitch package.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
2 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum