Changeset d53dda5


Ignore:
Timestamp:
Sep 28, 2007 12:06:56 PM (17 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
5479c80
Parents:
ba93950
Message:

startcmd that works with amd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    rba93950 rd53dda5  
    11#!/bin/sh
     2
     3# Take the user and the user's startcmd as arguments
    24
    35BOSSNODE="/usr/local/etc/emulab/bossnode"
     
    8890echo "Mounting via SMB."
    8991
    90 exec "/tmp/$SMBMOUNT" $SHARE $GATEWAY $SMBUSER
     92"/tmp/$SMBMOUNT" $SHARE $GATEWAY $SMBUSER
     93
     94if [ ! -z "$1" ]; then
     95        su -l "$1" -c "$2"
     96fi
Note: See TracChangeset for help on using the changeset viewer.