diff options
author | Warner Losh <imp@FreeBSD.org> | 1999-08-30 03:34:46 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1999-08-30 03:34:46 +0000 |
commit | 8b2bfd893af51330d640af25087cf059b522866b (patch) | |
tree | f07f00f95018710819ad260748e29a3031e7b140 /etc | |
parent | de5104ae7ca42a1c08c695d03df9d90abbe8fbe9 (diff) | |
download | src-8b2bfd893af51330d640af25087cf059b522866b.tar.gz src-8b2bfd893af51330d640af25087cf059b522866b.zip |
Remove all non-file like things in /var/tmp/vi.recover on reboot.
Notes
Notes:
svn path=/head/; revision=50612
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -343,6 +343,7 @@ if [ -f /etc/rc.${arch} ]; then fi # Recover vi editor files. +find /var/tmp/vi.recover ! -type f -a ! -type d -delete vibackup=`echo /var/tmp/vi.recover/vi.*` if [ "${vibackup}" != '/var/tmp/vi.recover/vi.*' ]; then echo 'Recovering vi editor sessions' |