| Anonymous | Login | Signup for a new account | 11-10-2008 11:10 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001166 | [udhcp] | minor | always | 01-18-07 18:23 | 02-12-08 12:53 | ||||
| Reporter | ganadist | View Status | public | ||||||
| Assigned To | |||||||||
| Priority | normal | Resolution | no change required | ||||||
| Status | closed | ||||||||
| Summary | 0001166: udhcpc can't run script | ||||||||
| Description |
When run udhcpc, it can register script by "-s" option for setting ethernet. But I found udhcpc can't run script. At function udhcp_run_script() in networking/udhcp/script.c, it tried to execle to run script. but execle system-call can't run shell script directly. |
||||||||
| Additional Information | I made patch that run shell to interprete script. I'll attach it. | ||||||||
| Attached Files |
|
||||||||
|
|
|||||||||
Notes |
|
|
(0004284) vda 02-12-08 12:53 |
User error. script MUST BE an executable. Just adding .sh to the name is not enough, you need to chmod +x the script. After that, exec will work. |
| Copyright © 2000 - 2006 Mantis Group |