1998-08-11 10:29:56 +00:00
|
|
|
--- install.sh.orig Sun Feb 22 14:59:37 1998
|
|
|
|
+++ install.sh Tue Aug 11 02:57:05 1998
|
1998-01-10 18:39:42 +00:00
|
|
|
@@ -29,6 +29,7 @@
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
+chown uucp $1
|
|
|
|
|
|
|
|
if test ! -d $2
|
|
|
|
then
|
1998-08-11 10:29:56 +00:00
|
|
|
@@ -46,8 +47,8 @@
|
|
|
|
then
|
1996-12-10 01:03:04 +00:00
|
|
|
echo "Installing minicom in $2"
|
1996-03-05 07:46:58 +00:00
|
|
|
cp minicom $2/minicom
|
1996-12-10 01:03:04 +00:00
|
|
|
- chown root $2/minicom
|
1998-08-11 10:29:56 +00:00
|
|
|
- chgrp uucp $2/minicom
|
1996-12-10 01:03:04 +00:00
|
|
|
+ chown uucp $2/minicom
|
1996-07-10 10:47:25 +00:00
|
|
|
+ chgrp dialer $2/minicom
|
1998-08-11 10:29:56 +00:00
|
|
|
chmod 755 $2/minicom
|
1996-03-05 07:46:58 +00:00
|
|
|
fi
|
|
|
|
|
1998-01-10 18:39:42 +00:00
|
|
|
@@ -59,7 +60,7 @@
|
1996-03-05 07:46:58 +00:00
|
|
|
cp $i $2/$i
|
|
|
|
chmod 755 $2/$i
|
|
|
|
chown root $2/$i
|
|
|
|
- chgrp root $2/$i
|
1998-01-03 10:58:43 +00:00
|
|
|
+ chgrp bin $2/$i
|
1996-03-05 07:46:58 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
1998-01-10 18:39:42 +00:00
|
|
|
@@ -69,7 +70,7 @@
|
1996-03-05 07:46:58 +00:00
|
|
|
cp keyserv $1/keyserv
|
|
|
|
chmod 755 $1/keyserv
|
|
|
|
chown root $1/keyserv
|
|
|
|
- chgrp root $1/keyserv
|
|
|
|
+ chgrp bin $1/keyserv
|
|
|
|
fi
|
|
|
|
|
|
|
|
echo "Installing manpages in $3"
|
1998-01-10 18:39:42 +00:00
|
|
|
@@ -78,7 +79,7 @@
|
1996-03-05 07:46:58 +00:00
|
|
|
cp ../man/$i $3
|
|
|
|
chmod 644 $3/$i
|
|
|
|
chown root $3/$i
|
|
|
|
- chgrp root $3/$i
|
|
|
|
+ chgrp bin $3/$i
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ ! -f $1/minicom.users ]
|
1998-01-10 18:39:42 +00:00
|
|
|
@@ -86,7 +87,7 @@
|
1996-03-05 07:46:58 +00:00
|
|
|
echo "Installing sample config file minicom.users in $1"
|
|
|
|
cp minicom.users $1
|
|
|
|
chown root $1/minicom.users
|
|
|
|
- chgrp root $1/minicom.users
|
|
|
|
+ chgrp bin $1/minicom.users
|
|
|
|
chmod 644 $1/minicom.users
|
|
|
|
fi
|
|
|
|
|
1998-08-11 10:29:56 +00:00
|
|
|
@@ -95,13 +96,13 @@
|
|
|
|
if test -d $4
|
|
|
|
then
|
|
|
|
echo "Installing script demos, docs, & character tables in $4"
|
|
|
|
- cp ../doc/* $4
|
|
|
|
+ ##cp ../doc/* $4
|
|
|
|
cp -r ../demos $4
|
|
|
|
- cp -r ../tables $4
|
|
|
|
- chmod 644 $4/* $4/demos/* $4/tables/*
|
|
|
|
- chmod a+x $4/demos $4/tables
|
|
|
|
- chown root $4/* $4/demos/* $4/tables/*
|
|
|
|
- chgrp root $4/* $4/demos/* $4/tables/*
|
|
|
|
+ ##cp -r ../tables $4
|
|
|
|
+ chmod 644 $4/* $4/demos/* ## $4/tables/*
|
|
|
|
+ chmod a+x $4/demos ## $4/tables
|
|
|
|
+ chown root $4/* $4/demos/* ## $4/tables/*
|
|
|
|
+ chgrp bin $4/* $4/demos/* ## $4/tables/*
|
1996-03-05 07:46:58 +00:00
|
|
|
else
|
|
|
|
echo "You don't have a $4 directory - script examples not installed."
|
1998-08-11 10:29:56 +00:00
|
|
|
fi
|
|
|
|
@@ -111,11 +112,12 @@
|
1998-01-03 10:58:43 +00:00
|
|
|
rm minicom.o
|
1996-03-05 07:46:58 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
-echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
1996-07-10 10:47:25 +00:00
|
|
|
-echo
|
1996-03-05 07:46:58 +00:00
|
|
|
-echo "chmod +s $2/minicom"
|
1996-07-10 10:47:25 +00:00
|
|
|
-echo
|
1998-08-11 10:29:56 +00:00
|
|
|
-echo "or make your modem device in the /dev directory world writable "
|
|
|
|
-echo "with chmod a+rw"
|
1996-07-10 10:47:25 +00:00
|
|
|
+###echo "Minicom is NOT setuid yet - you must do this yourself by entering:"
|
|
|
|
+###echo
|
|
|
|
+###echo "chmod +s $2/minicom"
|
|
|
|
+###echo
|
|
|
|
+chmod u+s $2/minicom
|
1998-08-11 10:29:56 +00:00
|
|
|
+###echo "or make your modem device in the /dev directory world writable "
|
|
|
|
+###echo "with chmod a+rw"
|
1996-03-05 07:46:58 +00:00
|
|
|
|
|
|
|
exit 0
|