Modifications

Aller à : navigation, rechercher

Tablets Patchwork

543 octets ajoutés, 28 novembre 2017 à 12:02
en vrac..
PA: PFC_TBL
password: pfctbl17
 
---to do---?
FTP SERVEUR (pour maj facile page accueil tablettes)
ajouter la librairie avant de compiler
login/mdp ftptbl
 
 
------------------------ DIVERS ------------
/bin/hostname -I > /home/pfcping/patchwork/myip
exit 0
------- recup @IP de la liste des images chaque minutesous /home/pfcping> vi listImages.sh#!/bin/bash/usr/bin/tree /home/pfcping/patchwork/images -J > /home/pfcping/patchwork/mylistimgsexit 0  ------- synchro des (images) tablettes chaque minutesous /home/pfcping> vi synchro.sh#!/bin/bashMYIPMASTER=$(cat /home/pfcping/patchwork/myipsync)sh /home/pfcping/.profile#echo --------- debut synchro sur $MYIPMASTERrsync -e ssh -r --delete --exclude="myip" --exclude="myipsync" --exclude="synchro.sh" pfcping@$MYIPMASTER:/home/pfcping/patchwork/ /home/pfcping/patchwork_sync#echo ---------fin synchroexit $? 
> vi mycrontab
* * * * * sh /home/pfcping/patchwork/getMyIp.sh
* * * * * sh /home/pfcping/patchwork/listImages.sh
* * * * * sh /home/pfcping/patchwork/synchro.sh
206
modifications

Menu de navigation