How to update smartctl database with Debian Wheezy
How to update smartctl database with Debian Wheezy
You’ll have to create run these commands :
#!/bin/bash
UPDATE=/usr/sbin/update-smart-drivedb
if [ -f "$UPDATE" ]; then
sed -i "/^SRCEXPR/{s#=.*#='http://sourceforge.net/p/smartmontools/code/HEAD/tree/\$location/smartmontools/drivedb.h?format=raw'#}" $UPDATE
fi
before running update-smart-drivedb
Source :