How to update smartctl database with Debian Wheezy
Nov 1, 2014
1 minute read

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 :



comments powered by Disqus