This commit is contained in:
USER
2024-09-06 21:38:29 +01:00
parent 7cfefe88d0
commit f3fe024705
4 changed files with 69 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh -x
TEMP1=$(mktemp)
TEMP2=$(mktemp)
${BINARY} cli config devices ${myID} name set ${MYHOST}.${LOGNAME}
grep -v ${myID} ${SHARE_LIST} > ${TEMP1}
for i in `cat ${TEMP1}`
do
echo $i
${BINARY} cli config devices add --device-id $i
done
${BINARY} cli config folders default delete
rm -f ${TEMP1} ${TEMP2}