Hello,
I have found a bug in Hotpup which causes it to corrupt /root/.xinitrc.
Turn on Hotpup and choose to display removable drives only.
Restart X
Go to Hotpup, and turn off drive display
Restart X
System refuses to start because /root/.xinitrc has been corrupted in the following way,
#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh ];then
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
Note the # in the if statement.
This error is repeatable on my system.
Puppy 4 stable.
Hilary
HOTPUP corrupts /root/.xinitrc
- DreamsToGo
- Posts: 118
- Joined: Fri 27 Jan 2006, 08:28
- Location: Castelnaudary, south France, World Capital of Cassoulet
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
Re: HOTPUP corrupts /root/.xinitrc
The # is supposed to comment out the line starting Hotpup -- that "if" is not supposed to exist.DreamsToGo wrote:#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh ];then
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
Note that my most recent version will not have that problem, since it doesn't touch your xinitrc (is uses a config file).
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
Re: HOTPUP corrupts /root/.xinitrc
Thanks for the nfo. So how to restore /root/.xinitrc Dougal? The system boots from savefile fine but with no flash drives detected. I was using Hotpup drive icons but now can't get Puppy to detect usb devices (mainly flash disks) properly. I like the Hotpup tool for the convenience. Can you help me get my flashdisks working again?Dougal wrote: Note that my most recent version will not have that problem, since it doesn't touch your xinitrc (is uses a config file).
Thanks
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
Re: HOTPUP corrupts /root/.xinitrc
Simply remove the "#" from before /etc/HotPup/HotPup.sh.bashd wrote:So how to restore /root/.xinitrc Dougal?
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind