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: 1Joined: 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 Profile
PostPosted: Wed Aug 09, 2017 7:10 pm Reply with quote
Site AdminPosts: 6362Joined: 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 Profile

Display posts from previous:  Sort by:

All times are UTC + 1 hour [ DST ]
Page 1 of 1
2 posts
Users browsing this forum: No registered users and 1 guest
Search for:
Post new topic  Reply to topic
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