文件操作 - register-storage-snmp.sh
返回文件管理
返回主菜单
删除本文件
文件: /opt/dell/srvadmin/lib64/srvadmin-storage/register-storage-snmp.sh
编辑文件内容
#!/bin/sh #fixup omreg cat /opt/dell/srvadmin/etc/omreg.d/*.cfg /etc/compat-omreg.cfg > /opt/dell/srvadmin/etc/omreg.cfg 2>/dev/null ||: ########################################## # Perform Data Engine configuration ########################################## source /opt/dell/srvadmin/lib64/srvadmin-omilcore/Funcs.sh DCECFG=$(GetRegVal /opt/dell/srvadmin/etc/omreg.cfg OMDataEngine.configtool) DCICFG=$(GetRegVal /opt/dell/srvadmin/etc/omreg.cfg Instrumentation.configtool) CLIREGUTIL=/opt/dell/srvadmin/lib64/srvadmin-omacore/cli_ini_modifier.sh PLATFORMID=$(GetSysId) $DCECFG command=addmpialias update=TRUE startuptype=automatic \ aliasname=ssimp \ pathfname="/opt/dell/srvadmin/lib64/openmanage/libdsm_sm_ssimp.so" \ dispatchfn=OMSSIMP_SMMIBImplementerDispatch \ displayname="OMSM_SNMP_IMPLEMENTER" exit 0
修改文件时间
将文件时间修改为当前时间的前一年
删除文件