#!/bin/sh #------------------------------------------------------------------------------ # /etc/rc.d/rc031.hwsupp __FLI4LVER__ # # Creation: 25.07.2014 cspiess # Last Update: $Id$ #------------------------------------------------------------------------------ # rename w83627hf sensors db due to driver update begin_script HWSUPP "rename sensors db ..." if [ -e $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627hf-isa-0000 ] then if [ ! -e $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627hf-isa-0290 ] then ln -s $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627hf-isa-0000/ $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627hf-isa-0290 fi fi if [ -e $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627thf-isa-0000 ] then if [ ! -e $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627thf-isa-0290 ] then ln -s $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627thf-isa-0000/ $RRDTOOL_DB_PATH/$HOSTNAME/sensors-w83627thf-isa-0290 fi fi end_script