Other Help Topics :: preserve ssh cert and user base across boots?



Were drifting off topic, but another trick for a remote reboot without ejecting cd would be these commands through an ssh terminal:

# rm /etc/init.d/knoppix-reboot
# cp /KNOPPIX/etc/init.d/knoppix-reboot /etc/init.d/
# sed -i "151,153d" /ramdisk/etc/init.d/knoppix-reboot
# reboot

Pretty much does the same thing.

Quote (Jason W @ June 25 2008,22:18)
Were drifting off topic, but another trick for a remote reboot without ejecting cd would be these commands through an ssh terminal:

# rm /etc/init.d/knoppix-reboot
# cp /KNOPPIX/etc/init.d/knoppix-reboot /etc/init.d/
# sed -i "151,153d" /ramdisk/etc/init.d/knoppix-reboot
# reboot

Pretty much does the same thing.

Well, yea, if you want to do it the easy way >_>

Also, those need to be done as sudo or as root.
*Note to self, kill sed*

Anyway, does dsl not use the rc6.d scripts?

I'm sure it uses the /etc/rc6.d/S90knoppix-reboot script as it is a symlink to the one in /etc/init.d.
Thanks for all the good suggestions folks.

Tried installing to a memkey but since my mobo is old I can't boot from USB so I think that is out.

I bit the bullet and slapped an HD into the box and installed to that. Now I can reboot without an eject and my other settings all persist so I think I am happy.

Thanks again for all the help.

Brian H.
Uxbridge Ont

Quote (Jason W @ June 26 2008,06:36)
I'm sure it uses the /etc/rc6.d/S90knoppix-reboot script as it is a symlink to the one in /etc/init.d.

Atleast on my frugal 3.4.11 install, the /etc/rc6.d/S90knoppix-reboot script is actually symlinked to /KNOPPIC/etc/init.d/knoppix-reboot (as is every other file in /etc/rc*.d/ and /etc/init.d/)
Next Page...
original here.