Changed setup script for FreeBSD 4.4
This commit is contained in:
parent
203bcdf90b
commit
6f7f37fafe
2
SETUP.sh
2
SETUP.sh
@ -70,7 +70,6 @@ if [ "$OSTYPE" = "Linux" ]; then
|
|||||||
# Slackware 7.0 and later
|
# Slackware 7.0 and later
|
||||||
DISTNAME="Slackware"
|
DISTNAME="Slackware"
|
||||||
DISTVERS=`cat /etc/slackware-version`
|
DISTVERS=`cat /etc/slackware-version`
|
||||||
DISTVERS=${DISTVERS:0:3}
|
|
||||||
else
|
else
|
||||||
if [ -f /etc/debian_version ]; then
|
if [ -f /etc/debian_version ]; then
|
||||||
# Debian, at least since version 2.2
|
# Debian, at least since version 2.2
|
||||||
@ -112,7 +111,6 @@ fi # Linux
|
|||||||
if [ "$OSTYPE" = "FreeBSD" ]; then
|
if [ "$OSTYPE" = "FreeBSD" ]; then
|
||||||
DISTNAME="FreeBSD"
|
DISTNAME="FreeBSD"
|
||||||
DISTVERS=`uname -r`
|
DISTVERS=`uname -r`
|
||||||
DISTVERS=${DISTVERS:0:3}
|
|
||||||
PW="pw "
|
PW="pw "
|
||||||
fi
|
fi
|
||||||
if [ "$OSTYPE" = "NetBSD" ]; then
|
if [ "$OSTYPE" = "NetBSD" ]; then
|
||||||
|
Reference in New Issue
Block a user