myip in /etc/rc.d/rc.local
Dan Murphy
danmint at verizon.net
Tue Feb 28 16:06:50 EST 2006
Yup that's where I ended up putting it.
I figured out that aliases and commands work differently instartup
scripts.
On Tue, 28 Feb 2006, Charles
Hallenbeck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Dan,
> The line I posted was an alias definition, not a command to execute. You
> might be able to make it work if you put just the stuff between the
> single quotes there. However, it will probably show you the IP address
> and then whisk it away before you notice it.
>
> You would be better off putting the whole line in /etc/profile, and that
> way it defines the myip command for any and all users. I find it handy
> to have that command, even though my IP does not change, since it is a
> quick and reliable way to check if I have a live connection to the
> outside world.
>
> Chuck
>
> On Tue, Feb 28, 2006 at 12:48:57PM -0500, Dan Murphy wrote:
>> I tryed putting the line Chuck posted in /etc/rc.d/rc.local, but it didn't
>> work. It just occured to me what the problem might be.
>> perhaps I should try the full path to wged.
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> - --
> The Moon is Waxing Crescent (1% of Full)
> But you can still get downloads from http://www.mhcable.com/~chuckh
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
>
> iD8DBQFEBI2/XnuiIOyDVQURAi0cAJ0Uvs6UBXmDdpZWd4eNiFQMZ3JQ0ACeK4t8
> FRkhg3bsZQPgVIdfhIZBXqs=
> =fCzI
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
More information about the Speakup
mailing list