version 1.4, 2025/01/21 20:52:51
|
version 1.9, 2025/01/21 22:41:22
|
Line 18
|
Line 18
|
|
|
PROGN=`basename $0` |
PROGN=`basename $0` |
|
|
if [ $UID -ne 0 ] |
#if [ "$UID" != "0" ] |
then |
#then |
echo "$PROGN error: must run as root" |
# echo "$PROGN error: must run as root" |
exit 1 |
# exit 1 |
fi |
#fi |
|
|
TARGET="client" |
TARGET="client" |
TUSER="build:6000" |
TUSER="build:6000" |
Line 76 do
|
Line 76 do
|
|
|
m) |
m) |
BUILDMAN_MASTER="${OPTARG}" |
BUILDMAN_MASTER="${OPTARG}" |
|
;; |
|
|
esac |
esac |
done |
done |
|
|
Line 96 DEF="/etc/default/bm"
|
Line 97 DEF="/etc/default/bm"
|
|
|
|
|
echo "BUILDMAN_BASE=${BUILDMAN_BASE}" > "${DEF}" |
echo "BUILDMAN_BASE=${BUILDMAN_BASE}" > "${DEF}" |
|
echo "BUILDMAN_USER=${T_LOGIN}" >> "${DEF}" |
|
echo "BUILDMAN_GROUP=${T_GRPNAM}" >> "${DEF}" |
echo "BUILDMAN_UID=${T_UID}" >> "${DEF}" |
echo "BUILDMAN_UID=${T_UID}" >> "${DEF}" |
echo "BUILDMAN_GID=${T_GID}" >> "${DEF}" |
echo "BUILDMAN_GID=${T_GID}" >> "${DEF}" |
echo "BUILDMAN_MASTER=${BUILDMAN_MASTER}" >> "${DEF}" |
echo "BUILDMAN_MASTER=${BUILDMAN_MASTER}" >> "${DEF}" |