Code Sample |
$ ls -l /opt/bin/hcid lrwxrwxrwx 1 root root 34 Nov 23 09:47 /opt/bin/hcid -> /ramdisk/opt/bluez-utils/sbin/hcid |
Quote (Juanito @ Nov. 23 2007,02:03) | ||
I get the following when I load the latest extension:
Maybe the problem is that it should read "/opt/bin/hcid -> /opt/bluez-utils/sbin/hcid". Let me try with that and see if it makes a difference. |
Code Sample |
$ sudo ln -s /opt/my-app/bin/* /opt/bin |
Code Sample |
$ ls -l /opt/bin/hcid lrwxrwxrwx 1 root root 26 Nov 23 14:38 /opt/bin/hcid -> /opt/bluez-utils/sbin/hcid $ cat /opt/mybt_test.sh #!/bin/bash # hciconfig hci0 up hcid restart sdpd # # EOF $ sudo /opt/mybt_test.sh /opt/mybt_test.sh: line 3: hciconfig: command not found /opt/mybt_test.sh: line 4: hcid: command not found /opt/mybt_test.sh: line 5: sdpd: command not found |
Code Sample |
$ cat /opt/mybt_test.sh #!/bin/bash # PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games:/opt/bin:. # hciconfig hci0 up hcid restart sdpd # # EOF $ sudo /opt/mybt_test.sh $ hciconfig hci0: Type: USB BD Address: 00:10:C6:56:F4:9F ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:99 acl:0 sco:0 events:13 errors:0 TX bytes:300 acl:0 sco:0 commands:13 errors:0 |