Commit 6c1955f5 authored by Mike Hibler's avatar Mike Hibler

Make echos correctly reflect what the script is doing!

parent 39e3b1f9
......@@ -165,13 +165,13 @@ dofreebsd() {
}
if [ $changedisk -eq 1 ]; then
echo " updating /etc/dumpdates"
echo " updating /etc/fstab"
sed -E -i .orig -e "s;^/dev/[a-zA-Z]+[0-9]+s[0-9]+;/dev/${disk}s${part};" /mnt/etc/fstab || {
echo "Failed to update /etc/fstab"
umount $rootdev
return 1
}
echo " updated /etc/fstab"
echo " updating /etc/dumpdates"
sed -E -i .orig -e "s;^/dev/[a-zA-Z]+[0-9]+s[0-9]+;/dev/${disk}s${part};" /mnt/etc/dumpdates || {
echo "Failed to update /etc/dumpdates"
umount $rootdev
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment