3
export ROOT="${ROOT:-}"
4
export AGENTSMITHDIR="${AGENTSMITHDIR:-/usr/share/agent-smith}"
5
export TEMP="${TEMP:-$ROOT/tmp}"
7
. "${AGENTSMITHDIR}/common.sh"
11
backupfile="$(make_backup $ROOT/$FSTAB)"
13
if [ ! -f "${backupfile}" ]; then
17
sed -i.backup. 's/sda1/sdb1/g' "$ROOT/$FSTAB"