In article <20090329013138.gc16...@drowsy.duskware.de>, Martin Husemann <mar...@duskware.de> wrote: >On Sun, Mar 29, 2009 at 12:03:13AM +0900, Izumi Tsutsui wrote: >> BTW, sysctl -w ddb.onpanic=? causes error >> if options DDB is not configured: >> >> sysctl: second level name 'onpanic' in 'ddb.onpanic' is invalid > >Yeah, I saw that too - not sure how to fix it best yet - >at lest we should enhance the match in the postinstall script to allow >commenting out the entry in sysctl.conf. Or move the setting to a special >script that checks for the "ddb" hierachy first. Or add some special command >line flag to sysctl (and sysctl.conf) that supresses the error message.
Or add some syntax to the file for optional assignments, like: ddb.onpanic?=1 or ddb.onpanic?ddb.onpanic=1 christos