/CD check unnecessary
This commit is contained in:
parent
9df1183b94
commit
296a0fb33d
@ -93,11 +93,6 @@ warn()
|
|||||||
while getopts '' opt; do usage; done
|
while getopts '' opt; do usage; done
|
||||||
shift `expr $OPTIND - 1`
|
shift `expr $OPTIND - 1`
|
||||||
|
|
||||||
if [ ! -f /CD ]
|
|
||||||
then echo "Please run setup from the CD, not from a live system."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$USER" != root ]
|
if [ "$USER" != root ]
|
||||||
then echo "Please run setup as root."
|
then echo "Please run setup as root."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user