Hi I'm new here and Enter/Exit hooks
Christ Schlacta
Mon Aug 31 16:31:01 2009Hallo, I'm here with somewhat of a bug/feature request. this is my first time posting to the list, so I thought I should say Hi first. my name is Christ, and I've been using dhcpcd for a long time now in favor of dhclient which I despise. I've run into one severely annoying feature just recently.. dhcpcd.enter-hook and dhcpcd.exit-hook. I believe they should be directories, containing numbered scripts. in reading the documentation, that's what I originally thought they were, and was frustrated for days wondering why my scripts weren't running.
Ultimately, I think the enter/exit hooks files should be removed and replaced with a single /etc/dhcpcd-hooks directory and the dhcpcd-run-hooks script should be updated to go through the scripts in each directory in numerical order. that would allow adding multiple user hooks in the /etc directory and wouldn't eliminate current functionality of the hooks system if users rename their files as such: mv /etc/dhcpcd.enter-hook /etc/dhcpcd-hooks/000-whatever and mv /etc/dhcpcd.exit-hook /etc/dhcpcd-hooks/999-whatever.
as I have an enter and an exit hook already, I fear what may come when I need to write a third hook
| Re: Hi I'm new here and Enter/Exit hooks | Roy Marples |