找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 2577|回复: 2

研究webshield恢复光盘,小有收获!!!

[复制链接]
发表于 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其他的就是e500
routeros
 楼主| 发表于 2005-2-27 23:44:14 | 显示全部楼层
4个以上支持ht技术的cpu,特此更正!!!!
routeros
回复

使用道具 举报

发表于 2005-3-3 14:37:31 | 显示全部楼层
硬件配置有什么要求?
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-9-19 08:59 , Processed in 0.045160 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表