View Full Version : Sony T-60 Stopped Reading my .profile
SliderVF101
06-16-2005, 03:53 PM
My T-60 had been running like a dream for almost a year when I discovered that my PATH variable was missing /var/hack and /var/hack/bin. While investigating this issue, I also discovered that the two aliases I assigned in my .profile were also missing. I've concluded that for some reason, my .profile is not being read during the boot sequence. Is this a valid assumption or am I missing something? I tried creating a new (identical) .profile and that didn't help. Any suggestions? The contents of the file are as follows:
alias rw='/var/hack/scripts/makerw.sh'
alias ro='/var/hack/scripts/makero.sh'
export PATH=$PATH:/var/hack:/var/hack/bin
fixn278
06-16-2005, 04:25 PM
My T-60 had been running like a dream for almost a year when I discovered that my PATH variable was missing /var/hack and /var/hack/bin. While investigating this issue, I also discovered that the two aliases I assigned in my .profile were also missing. I've concluded that for some reason, my .profile is not being read during the boot sequence. Is this a valid assumption or am I missing something? I tried creating a new (identical) .profile and that didn't help. Any suggestions? The contents of the file are as follows:
alias rw='/var/hack/scripts/makerw.sh'
alias ro='/var/hack/scripts/makero.sh'
export PATH=$PATH:/var/hack:/var/hack/bin
Try and run it by hand.
Are the permissions set properly?
Did you create it on a Window box and transfer it in ASCII mode instead of binary?
SR712
06-18-2005, 12:43 PM
I think .profile is read each time a terminal session is opened, not on boot. On the tivo, at least for me, .profile is only read when using a network telnet session, and not during a serial session. I can't recall much detail, but I thought I got the serial profile running a few years ago by using a .bashrc. I don't use serial much any more. The .profile should reside in the root directory.
SliderVF101
06-19-2005, 12:40 PM
Yup - That was it: .profile is only read during a network login. I guess I never logged in using my serial connection without having been on a network login sometime since the previous reboot. If you're not careful, you'll learn something every day...
Thanks!
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.