diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 12:14:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-12-15 12:14:52 +0000 |
commit | fcccd1bc06e0d11230042658c7ece6f90784e83f (patch) | |
tree | 8af4af17a1ff09c80f4ddfce160269e5fe8816e3 | |
parent | 9f8f52a000ef56b9f79ca435421d3fa1a71499d4 (diff) |
upgrade should put /.profile back; from jtk@kolvir.arlington.ma.us;
netbsd pr#1798
-rw-r--r-- | distrib/i386/floppies/upgr/dot.upgrutils | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/i386/floppies/upgr/dot.upgrutils b/distrib/i386/floppies/upgr/dot.upgrutils index 97f52529a93..3b109730bff 100644 --- a/distrib/i386/floppies/upgr/dot.upgrutils +++ b/distrib/i386/floppies/upgr/dot.upgrutils @@ -27,7 +27,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# $Id: dot.upgrutils,v 1.2 1995/11/06 21:27:45 deraadt Exp $ +# $Id: dot.upgrutils,v 1.3 1995/12/15 12:14:51 deraadt Exp $ # Upgrade cleanup utilites (functions), to make sure a recently-upgraded # system is safely runnable. These are meant to be invoked from the shell @@ -45,6 +45,7 @@ Cleanup() mv $upgrade_dir/etc/rc.bak $upgrade_dir/etc/rc chroot $upgrade_dir /usr/sbin/pwd_mkdb -p /etc/master.passwd chroot $upgrade_dir /bin/rm /etc/sendmail.fc > /dev/null 2>&1 + mv $upgrade_dir/.profile.bak $upgrade_dir/.profile sync echo "Done." |