Menu

[r448]: / trunk / etc / rc.initial.install  Maximize  Restore  History

Download this file

38 lines (30 with data), 600 Bytes

#!/bin/sh

# /etc/rc.initial
# part of FreeNAS (http://www.freenas.org)
# Copyright (C) 2005-2007 Olivier Cochard <olivier@freenas.org>
# All rights reserved.

# endless loop
while : ; do

# display a cheap menu
echo
echo "Install"
echo "*******"
echo "1) Install on HD, CF or USB key: Create 1 UFS partition"
echo "2) Install on HD: Create 2 UFS partitions (OS and DATA)"
echo "3) Return to main menu"
echo

read -p "Enter a number: " opmode

# see what the user has chosen
case ${opmode} in
1)
	/etc/rc.initial.install1
 	;;
2)
	/etc/rc.initial.install2
 	;;
3)
	/etc/rc.initial
	;;
esac

done

fi
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.