Commit 491d0bef authored by Mike Hibler's avatar Mike Hibler
Browse files

Save original versions of updated BSD files in .bak versions.

parent 912c0fa5
......@@ -1697,12 +1697,12 @@ sub vnodePreConfig($$$$$){
my $ldisk = "da0s1";
if (-e "$vnoderoot/etc/dumpdates") {
mysystem2("sed -i -e 's;^/dev/[ad][da][04]s1;/dev/$ldisk;' ".
mysystem2("sed -i.bak -e 's;^/dev/[ad][da][04]s1;/dev/$ldisk;' ".
" $vnoderoot/etc/dumpdates");
goto bad
if ($?);
}
mysystem2("sed -i -e 's;^/dev/[ad][da][04]s1;/dev/$ldisk;' ".
mysystem2("sed -i.bak -e 's;^/dev/[ad][da][04]s1;/dev/$ldisk;' ".
" $vnoderoot/etc/fstab");
goto bad
if ($?);
......
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