Project

General

Profile

« Previous | Next » 

Revision e6a46f60

Added by Renato Botelho almost 8 years ago

Try to prevent it to run on a bad system

View differences:

tools/scripts/pfSense-nanobsd_to_fullinstall.sh
65 65

  
66 66
update_dev="/dev/${update_dev}"
67 67

  
68
if [ ! -e "${update_dev}s2a" -o ! -e "${update_dev}s3" ]; then
69
	echo "Filesystem structure looks wrong, aborting..."
70
	exit 1
71
fi
72

  
68 73
cur_repo=/usr/local/etc/pkg/repos/pfSense.conf
69 74

  
70 75
/etc/rc.conf_mount_rw

Also available in: Unified diff