Author |
Message |
< Everything Coding ~ [PATCH] Use realpath instead of readlink to detect init. |
ravenexp
|
|
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:
|
Top
|
Offline |
Josh
|
|
Site Admin Posts: 6529 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.
|
Top
|
Offline |
|
Users browsing this forum: No registered users and 1 guest
|
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
|
|