Erich, > >-load one of the drivers somewhere in the boot process (and store > >them in one of the lrps) > > I believe we identified modules.lrp as the best place, but then ... see below > > >That always imply a change in the base line, because the softdog > >module needs to get loaded somewhere (and must be available). > >Or did I get your proposal wrong? > > Well, my original idea was to make /etc/init.d/watchdog aware of the > underlying watchdog driver. > Ok, I see. But I still don't like the idea of loading modules in this init script :-) One of the the reasons for this is that the modules itself are stored in an other package. I personal like to keep module loading and the modules itself in one package to prevent confusing and errors.
<snip> > This is what my /etc/init.d/watchdog looks like: > > ..... > case "$1" in > start) > CPUINFO=`grep "Geode by NSC" /proc/cpuinfo` > if [ "$CPUINFO" ] # this is a SC1100 > then > insmod wd1100 > echo 0 > /proc/sys/dev/wd/graceful > echo 20 > /proc/sys/dev/wd/timeout > else > insmod softdog > fi > ..... > the rest is unmodified. > Eric ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel