groundhog
06-11-2002, 12:40 AM
You'd think that I would know this by now. I don't so I'm asking it in the newbie area. Is commenting out the same thing as putting like a # before a command line so that the line no longer does what it was supposed to do?
More specifically, I'm trying to block a the service update on a DSR6K.
What would I have to do to these areas of rcsysinit to "Comment out" of them?
code:--------------------------------------------------------------------------------#echo "Check for PROM update ..."
#if [ "$updateprom" = true ]; then
# if [ -e /prom/TiVoProm.bin ]; then
# osdwriter /tvbin/InstallingSoftware.$TV_STD.cs22
# getprom -Update /prom/TiVoProm.bin
# echo "Sleep...waiting for reboot"
# osdwriter /tvbin/PromScreen2Version7.$TV_STD.cs22
# sleep 1000000
# restart
# fi
# echo "Can't find PROM image"
#fi--------------------------------------------------------------------------------
And here's the one SZ referred to:
code:--------------------------------------------------------------------------------#if [ "$upgradesoftware" = false ]; then
# echo "Not upgrading software"
#else
# TODO... Find another way to do this...
#tivosh /etc/rc.d/finishInstall.tcl
#export -n EMERGENCY_REINSTALL
#fi
More specifically, I'm trying to block a the service update on a DSR6K.
What would I have to do to these areas of rcsysinit to "Comment out" of them?
code:--------------------------------------------------------------------------------#echo "Check for PROM update ..."
#if [ "$updateprom" = true ]; then
# if [ -e /prom/TiVoProm.bin ]; then
# osdwriter /tvbin/InstallingSoftware.$TV_STD.cs22
# getprom -Update /prom/TiVoProm.bin
# echo "Sleep...waiting for reboot"
# osdwriter /tvbin/PromScreen2Version7.$TV_STD.cs22
# sleep 1000000
# restart
# fi
# echo "Can't find PROM image"
#fi--------------------------------------------------------------------------------
And here's the one SZ referred to:
code:--------------------------------------------------------------------------------#if [ "$upgradesoftware" = false ]; then
# echo "Not upgrading software"
#else
# TODO... Find another way to do this...
#tivosh /etc/rc.d/finishInstall.tcl
#export -n EMERGENCY_REINSTALL
#fi