[asterisk-bugs] [JIRA] (DAHTOOL-65) modinfo dadhdi fails when run from /etc

Tzafrir Cohen (JIRA) noreply at issues.asterisk.org
Mon Dec 30 10:39:05 CST 2013


Tzafrir Cohen created DAHTOOL-65:
------------------------------------

             Summary: modinfo dadhdi fails when run from /etc
                 Key: DAHTOOL-65
                 URL: https://issues.asterisk.org/jira/browse/DAHTOOL-65
             Project: DAHDI-Tools
          Issue Type: Bug
      Security Level: None
          Components: General
            Reporter: Tzafrir Cohen
            Assignee: Russ Meyerriecks


The dahd init script may use the commands 'modinfo dahdi' or 'modprobe dahdi'.

Those commands will fail if the user is in a directory that has a subdirectory called 'dahdi'.

My workaround is to try instead (cd /sys; modinfo dahdi) . But is /sys guaranteed to exist? I don't want to assume that the system will not have the directory /dahdi . Any better fix?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list