hi! u think u could add some script that checks for kernel versions? (like the following script): (if it'd be just a script in the /usr/lib/portage/bin i can write it if u want me to) check_kernel() { return `python -c "from os import environ import sys def kv2int(kv): return ((kv[0] << 16) + (kv[1] << 8) + kv[2]) v=map(int,environ['KV'].split('-')[0].split('.')) if kv2int(v) >= kv2int([2,4,19]): sys.exit(0) else: sys.exit(1) "` }
read /sbin/functions.sh