Bryan Kadzban wrote:

KERNEL="rtc", RUN="/path/to/the/script"

Do we need a script for it though? I've not tested it yet (of course! :) ), but this is what I was thinking:

KERNEL="rtc", ACTION="add", \
  RUN="echo 1024 > /proc/sys/dev/rtc/max-user-freq"
KERNEL="eth0", ACTION="add", \
  RUN="echo 0 > /proc/sys/net/ipv4/tcp_window_scaling;"

Obviously, there may be situations where a full-blown script is required, but I'd imagine for the majority of rules a simple one-liner like the above should do the job just fine.

Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to