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($$$$$){ ...@@ -1697,12 +1697,12 @@ sub vnodePreConfig($$$$$){
my $ldisk = "da0s1"; my $ldisk = "da0s1";
if (-e "$vnoderoot/etc/dumpdates") { 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"); " $vnoderoot/etc/dumpdates");
goto bad goto bad
if ($?); 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"); " $vnoderoot/etc/fstab");
goto bad goto bad
if ($?); 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