I do understand from the configs how to make a service restart in case of a fail but in this case a simple restart would always result in the same fail again and again
how can set a service to restart with alternative parameters?
i tried to edit the .../dhcpcd.service.d/wait.conf from my Raspberry Pi to load a config file from my /boot section with the -f option
but if there is no file, the service just fails and does not fallback to use the default config
so i need to know how to change the wait.conf so it would restart the service on fail without the -f /boot/dhcpcd_boot.conf option instead
to be clear, i just edited the wait.conf and attached the line above and did nothing else to any other part
i want to be able to specify a dhcpcd_boot.conf with custom settings from a windows machine without using bonjour while in USB gadget RNDIS mode and without installing an DHCP server on the windows machine to SSH into the pi.
Core of my issue is, I want the dhcp service, which requests and assigns my network adapter an IP, to run a config off the fat32 /boot/ partition, but if the file is damaged or missing, the service fails to run and i am locked out of my raspberry pi, because it runs in gadget mode emulating an RNDIS without IP.
wait.confanddhcpcd_boot.conffiles? Where they are located? What program uses option-f? What is the line above you attached towait.conf? What has a windows machine to do with your RasPi? What is this USB gadget RNDIS mode? I think you are using a network (wifi, wired)? – Ingo Feb 21 '19 at 19:15/boot/and falling back to the default config using the-foption ... but there are 2 ddifficulties, first it has to start in the wait.conf in a delayed manner (how it is actually solved with the default raspbian image) and if the file is missing or invalid, the service is not started at all .... so i wanted to know how i can modify thewait.confto restart itself but with alternative command line parameters without the-foption – mindforger Feb 26 '19 at 14:00/boot/or SSH after connecting it through USB – mindforger Feb 26 '19 at 14:02