TiVo Community
TiVo Community
TiVo Community
Go Back   TiVo Community > Main TiVo Forums > TiVo Help Center
TiVo Community
Reply
Forum Jump
 
Thread Tools
Old 01-31-2006, 03:10 PM   #1
thefaxmachine
Registered User
 
Join Date: Jan 2006
Posts: 8
rc.sysinit.author

Hi,

I'm attempting to add a start up program to /etc/rc.d/rc.sysinit.author - however this file does not get run when the system is rebooted.

In addition I have made changes to to rc.sysinit and these do no get run.

I have also set up a /.profile to extend the path when using telnet and this does not get run.

I can successfully run all the commands entered in bash and they work fine, however they are not run from the rc.sysinit.author etc.??

ANy help would be appreciated.

Cheers
thefaxmachine is offline   Reply With Quote
Old 01-31-2006, 04:40 PM   #2
classicsat
Astute User
 
classicsat's Avatar
 
Join Date: Feb 2004
Location: Ontario Canada.
Posts: 17,872
You have to chmod 755 the files
The first line in both has to be #!/bin/bash
__________________
Series 2 234 Hr Lifetime.
Window XP and Ubuntu Linux on my PCs.
Watching more and more in HD direct now.
classicsat is offline   Reply With Quote
Old 02-02-2006, 09:53 AM   #3
welshpedro
Registered User
 
Join Date: Jun 2002
Location: Wales
Posts: 20
Quote:
Originally Posted by classicsat
You have to chmod 755 the files
The first line in both has to be #!/bin/bash
I'm trying to get the file attributes changed on my rc.sysinit.author file too(to get it to run endpad on starting), but always get the following when telnet'd to it.

bash-2.02# chmod 755 /etc/rc.d/rc.sysinit.author
chmod: /etc/rc.d/rc.sysinit.author: Read-only file system
bash-2.02#
bash-2.02#

I cant have always had this as I have a line in the rc.sysinit.author that runs tivoweb on startup... but now I cant edit it or change the file attributes.

I'm newish to all this, so any help will be appreciated
welshpedro is offline   Reply With Quote
Old 02-02-2006, 10:17 AM   #4
classicsat
Astute User
 
classicsat's Avatar
 
Join Date: Feb 2004
Location: Ontario Canada.
Posts: 17,872
You have to mount the partition as RW.
__________________
Series 2 234 Hr Lifetime.
Window XP and Ubuntu Linux on my PCs.
Watching more and more in HD direct now.
classicsat is offline   Reply With Quote
Old 02-02-2006, 10:56 AM   #5
welshpedro
Registered User
 
Join Date: Jun 2002
Location: Wales
Posts: 20
Quote:
Originally Posted by classicsat
You have to mount the partition as RW.

Thanks for speedy reply. How do I do that? I use telnet to connect or Filezilla for file transfers via the network card.
welshpedro is offline   Reply With Quote
Old 02-02-2006, 02:22 PM   #6
Billy66
Again with shoelaces
 
Join Date: Dec 2003
Posts: 3,273
Type this command

mount -o remount,rw
Billy66 is offline   Reply With Quote
Old 02-03-2006, 03:24 AM   #7
welshpedro
Registered User
 
Join Date: Jun 2002
Location: Wales
Posts: 20
Quote:
Originally Posted by Billy66
Type this command

mount -o remount,rw

Have typed the above in at Bash promt...this is what I got on screen..

bash-2.02# mount -o remount,rw
usage: mount [-hV]
mount -a [-nfFrsvw] [-t vfstypes]
mount [-nfrsvw] [-o options] special | node
mount [-nfrsvw] [-t vfstype] [-o options] special node
bash-2.02#

Is the syntax correct??
welshpedro is offline   Reply With Quote
Old 02-03-2006, 05:49 AM   #8
Billy66
Again with shoelaces
 
Join Date: Dec 2003
Posts: 3,273
It is correct. Make sure that you see that "o" is the lowercase letter "o" and not the number zero. You should be able to simply copy that and aste it into your telnet client.
Billy66 is offline   Reply With Quote
Old 02-03-2006, 06:03 AM   #9
welshpedro
Registered User
 
Join Date: Jun 2002
Location: Wales
Posts: 20
Thanks for reply Billy...


I get the same again..

Pasted from the thread this time to be sure.....

bash-2.02# mount -o remount,rw
usage: mount [-hV]
mount -a [-nfFrsvw] [-t vfstypes]
mount [-nfrsvw] [-o options] special | node
mount [-nfrsvw] [-t vfstype] [-o options] special node
bash-2.02#
bash-2.02# chmod 755 /etc/rc.d/rc.sysinit.author
chmod: /etc/rc.d/rc.sysinit.author: Read-only file system
bash-2.02#
bash-2.02#


Not able to FTP to tivo now either... going to do a reboot to be sure....
welshpedro is offline   Reply With Quote
Old 02-03-2006, 06:17 AM   #10
David Platt
Unique proportions
 
David Platt's Avatar
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 9,422
TC CLUB MEMBER
Quote:
Originally Posted by Billy66
It is correct. Make sure that you see that "o" is the lowercase letter "o" and not the number zero. You should be able to simply copy that and aste it into your telnet client.
Actually, it's not quite correct.

You're missing a '/'. Try:

mount -o remount,rw /
__________________
As usual, I agree with Robin on almost everything.
David Platt is offline   Reply With Quote
Old 02-03-2006, 08:02 AM   #11
welshpedro
Registered User
 
Join Date: Jun 2002
Location: Wales
Posts: 20
Quote:
Originally Posted by David Platt
Actually, it's not quite correct.

You're missing a '/'. Try:

mount -o remount,rw /

David

Thanks very much. Worked a treat. Do I need to change it back after I have modifies the file??

Would I use

mount -o remount,r /

??
welshpedro is offline   Reply With Quote
Old 02-03-2006, 11:08 AM   #12
David Platt
Unique proportions
 
David Platt's Avatar
 
Join Date: Dec 2001
Location: Portland, OR
Posts: 9,422
TC CLUB MEMBER
Close:

mount -o remount,ro /
__________________
As usual, I agree with Robin on almost everything.
David Platt is offline   Reply With Quote
Reply
Forum Jump




Thread Tools


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Advertisements

TiVo Community
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
vBulletin Skins by: Relivo Media
(C) 2013 Magenium Solutions - All Rights Reserved. No information may be posted elsewhere without written permission.
TiVoŽ is a registered trademark of TiVo Inc. This site is not owned or operated by TiVo Inc.
All times are GMT -5. The time now is 05:41 AM.
OUR NETWORK: MyOpenRouter | TechLore | SansaCommunity | RoboCommunity | MediaSmart Home | Explore3DTV | Dijit Community | DVR Playground |