Am Monday, den 15 December hub Ronaldo Afonso folgendes in die Tasten: I used this for very simple debugging:
/sbin/procd is run after overlay has been merged. So you can replace /sbin/procd with a script. That it self executes the rescued procd with you options added. be careull depending on your hardware filedescriptor 3 is open (/dev/watchdog) if the watchdog device is not closed properly or written to in time it will just rest your device. I used this to disable watchdog: echo -n V >&3 && exec 3<&- || : ; cya > Hi all, > > How can I debug procd? > > I know "procd" has a "-d" switch for debug messages, but I'd like to know if > I have to recompile my kernel in order to use that "-d" switch. > > root@OpenWrt:/# procd --help > procd: invalid option -- - > procd: Usage: procd [options] > Options: > -s <path> Path to ubus socket > -h <path> run as hotplug daemon > -d <level> Enable debug messages > > Thanks in advance ... > > -- > Ronaldo Afonso > 11 9 5252 0484 > www.ronaldoafonso.com.br > _______________________________________________ > openwrt-users mailing list > [email protected] > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users -- Joerg Jungermann _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
