#!/bin/bash # Created by Tobias Powalowski build () { apps="/usr/sbin/smartctl /usr/sbin/smartd /usr/sbin/update-smart-drivedb" for i in $apps; do add_binary "$i" done add_file "/etc/conf.d/smartd" add_file "/etc/smartd.conf" add_file "/etc/rc.d/smartd" } help () { cat<