HOTPUP corrupts /root/.xinitrc

Please post any bugs you have found
Post Reply
Message
Author
User avatar
DreamsToGo
Posts: 118
Joined: Fri 27 Jan 2006, 08:28
Location: Castelnaudary, south France, World Capital of Cassoulet

HOTPUP corrupts /root/.xinitrc

#1 Post by DreamsToGo »

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

User avatar
lstandish
Posts: 126
Joined: Fri 06 Jun 2008, 13:22

#2 Post by lstandish »

I can confirm the existence of this bug in Puppy 4.00.

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

Re: HOTPUP corrupts /root/.xinitrc

#3 Post by Dougal »

DreamsToGo wrote:#v3.98 Dougal: code for running the HotPup daemon:
if [ -f #/etc/HotPup/HotPup.sh ];then
PINFILE=$HOME/Choices/ROX-Filer/PuppyPin
The # is supposed to comment out the line starting Hotpup -- that "if" is not supposed to exist.
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

bashd
Posts: 18
Joined: Mon 23 Jun 2008, 12:31

Re: HOTPUP corrupts /root/.xinitrc

#4 Post by bashd »

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 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?

Thanks

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

Re: HOTPUP corrupts /root/.xinitrc

#5 Post by Dougal »

bashd wrote:So how to restore /root/.xinitrc Dougal?
Simply remove the "#" from before /etc/HotPup/HotPup.sh.
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

Post Reply