Thread
:
improve cdrom user's experience
View Single Post
Estel
2012-05-14 , 02:41
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#
2
Unfortunately, it isn't working for me. I've "debugegd" it as extensively, as my limited skills permit, and conclusions are as follows:
1."eject" itself works fine. If I try commands from guts of eject.sh, everything works like charm.
2. eject.sh does nothing on my device - literally, nothing. Upon executing it, new terminal line opens immediately - no error message, no anything. Just nothing.
3. For sure it isn't permission problem - I've added it to /etc/sudoers.d, and of course chmod +x eject and eject.sh, properly. Messing with "eject" directly, even as user (with sudo) works. To filter out permissions, I've tried eject.sh as root (although, error about permissions would be given, even for user).
4. I've examined eject.sh for quite long time, but I wasn't able to trace any bugs. Tried some crazy ideas, like removing space from shebang. Still, effects are same - script does literally nothing.
---
Are You sure, that eject.sh isn't written for bash, instead of busybox (ash)?
/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover
MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1
|
ereswap
|
bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
Quote & Reply
|
Estel
View Public Profile
Send a private message to Estel
Find all posts by Estel