Alessio Re wrote: > > Vorrei eeguire degli script a connessione ppp avvenuta: mi sembra ovvio > che essi debbano venir messi in /etc/ppp/ip-up.d, dato che sono > richiamati dal run-parts nell'ip-up. Pero', in realta' non sono > eseguiti:
E` run-parts che se la tira... man run-parts per scoprire che ha delle pretese: 1. Filenames should consist entirely of upper and lower case letters, digits, under� scores, and hyphens. Subdirectories of directory and files with other names will be silently ignored. 2. Scripts must follow the #!/bin/interpretername convention in order to be executed. They will not automatically be executed by /bin/sh. > non vanno proprio. Sono impostati con privilegi 0744 ed appartengono a > root/root. Esempio di script in ip-up.d per lanciare wwwoffle: $ v 0wwwoffle -rwxr-xr-x 1 root root 265 feb 22 09:48 0wwwoffle* [EMAIL PROTECTED]: /etc/ppp/ip-up.d <09:15:03> $ c 0wwwoffle #!/bin/sh -e ## This script is run when the ppp link goes up. ## It simply puts wwwoffle online. wwwoffle -online # -i per le immagini, -r1 per tutti i link di primo livello sleep 2s wwwoffle -f http://www.repubblica.it & wwwoffle -f http://www.wired.com/news/ & > Altro piccolo problemino: l'ora del mio computer va piu' veloce di > quella reale! E si' che non ho installato programmi come l'adjtimex > oppure daemon ntp. Il clock del computer e' impostato a GMT, invece. > Puo' dipendere dall'hardware? Boh :) Penso di si`, ma ntp dovrebbe sincronizzartelo in automatico, no? > PS: vi da' noia il doppio formato HTML + plaintext per l'email? Non poi piu` di tanto: io mi limito a non leggere quello che c'e` scritto :) --- (= Davide Alberani =----= http://members.xoom.com/alberanid/ =-----=) ) |`. /\ La vita dura e` una gran fregatura. ( ( [EMAIL PROTECTED] |__)~~\ -- Litfiba ) )=----------------------------------= PGP KeyID: 0xD0354739 =----=(

