Commit b22c6f2d authored by Leigh B. Stoller's avatar Leigh B. Stoller

Remove old install script.

parent d1be1355
set path = ( /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin )
setenv OSTYPE `uname -s`
if ($OSTYPE == "FreeBSD") then
setenv USERADD "pw useradd";
else if ($OSTYPE == "Linux") then
setenv USERADD "useradd";
echo "Unsupported OS: $OSTYPE";
exit 1;
$USERADD emulabman -u 65520 -g bin -m -s /bin/tcsh -c "Emulab Man"
if ($OSTYPE == "Linux") then
cd /usr/local/etc/emulab
ln -s
rm -f /etc/init.d/emulab
cp rc.testbed /etc/init.d/emulab
rm -f /etc/rc3.d/S99emulab
ln -s ../init.d/emulab /etc/rc3.d/S99emulab
rm -f /etc/rc2.d/S99emulab
ln -s ../init.d/emulab /etc/rc2.d/S99emulab
rm -f /etc/rc5.d/S99emulab
ln -s ../init.d/emulab /etc/rc5.d/S99emulab
if (! -d ~emulabman/.ssh) then
cd ~emulabman
chmod 755 .
mkdir .ssh
chown emulabman .ssh
chgrp bin .ssh
chmod 700 .ssh
cd .ssh
cp /usr/local/etc/emulab/emulabkey authorized_keys
chown emulabman authorized_keys
chgrp bin authorized_keys
chmod 644 authorized_keys
exit 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment