Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cron job, init.d and ppp start, where and when ?
Message
Information générale
Forum:
Linux
Catégorie:
Problèmes base de données, installation et Admin
Divers
Thread ID:
00442396
Message ID:
00442446
Vues:
20
> I still looking to automate these commands :
>ifconfig eth0 up
>/etc/init.d/ppp start
>/usr/src/ddupcron.sh --host www.dummyweb.ca

vi /usr/local/bin/netstart.sh


#!/bin/bash

/usr/sbin/ifconfig eth0 up
/etc/init.d/ppp start
/usr/src/ddupcron.sh --host www.dummyweb.ca



vi /etc/rc.d/rc.local

:G (to go to the end of the file)

/usr/local/bin/netstart.sh
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform