bhb624 发表于 2005-2-27 23:43:10
webshield是根据,硬件设备来判断的,具体的信息在光盘目录:\install\appliance\config\sw下的:ident_hardware文件中;判断语句如下:#!/bin/bash# Purpose - To identify the hardware platform for the appliance## Copyright ?2003 Networks Associates Technology Inc.All rights reserved.leave(){ exit 0}determine_e250(){ echo "CONFIGDIR=/install/appliance/config/e250/base" >> /bootinfo}determine_e500(){ grep igabit /proc/pci > /dev/null 2>&1 if [ $? = 0 ] then echo "CONFIGDIR=/install/appliance/config/e500/alliance" >> /bootinfo else echo "CONFIGDIR=/install/appliance/config/e500/supermicro" >> /bootinfo fi}determine_e1000(){ echo "CONFIGDIR=/install/appliance/config/e1000/supermicro" >> /bootinfo}# If it has an IDE hard disk then it is an E250test -r /proc/ide/hda/mediaif [ $? = 0 ]then IDE_MEDIA=`cat /proc/ide/hda/media` if [ "disk" = "${IDE_MEDIA}" ] then determine_e250 leave fifi# If it has > 4 HT CPUS then it is an E1000NOCPU=`grep ^processor /proc/cpuinfo | wc -l`if [ $NOCPU -ge 4 ]then determine_e1000 leavefidetermine_e500leave根据以上信息可以知道:系统中存在eide设备就是:e250如果有4个以上的支持ht(超线程技术)的就是e1000其他的就是e500bhb624 发表于 2005-2-27 23:44:14
4个以上支持ht技术的cpu,特此更正!!!!jyhuang 发表于 2005-3-3 14:37:31
硬件配置有什么要求?
页:
[1]