The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Local max values of a file jemm Shell Programming and Scripting 1 03-02-2009 11:13 AM
file size comparision local file and remote file dba.admin2008 Shell Programming and Scripting 4 11-13-2008 05:57 PM
Calculate the time difference between a local file and a remote file. meetmano143 Shell Programming and Scripting 1 11-04-2008 02:59 PM
Local web cache for restricted users question brazen1445 UNIX for Dummies Questions & Answers 0 06-03-2008 07:06 PM
how to find whether a file is local or remote file? jackfds UNIX for Dummies Questions & Answers 3 07-10-2007 09:36 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 04-28-2009
Sapfeer Sapfeer is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 97
rc.local file question

Hi,

I putted the following code in my rc.local file:
Code:
logf=/tmp/rc.local.log
if [ -x /usr/sbin/pppd ]
then
  echo Start >> $logf
  /usr/sbin/pppd nodetach debug call internet >> $logf
  echo Stop >> $logf
  ping -c 1 google.com >> $logf
fi
But after login rhere was no rc.local.log file in my temp folder:
Code:
[ user@lenovo-y510ka Tue 28 Apr 2009 07:37:08 PM MSD ]
/home/user # ls -la /tmp/rc.local.*
ls: cannot access /tmp/rc.local.*: No such file or directory
Can anyone tell me what I did wrong?..

Last edited by Sapfeer; 04-28-2009 at 12:44 PM..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0