Here is how my current file (module.txt) looks like:
Code:
#Un-comment the following line to load the IDE-Floppy disk drive driver "floppy"
#floppy
# Generated by sensors-detect on Thu Jun 5 17:05:10 2008
# I2C adapter drivers
# modprobe unknown adapter CS5536 ACB0
# Chip drivers
lm90
# Generated by sensors-detect on Fri Jan 25 15:40:21 2008
# Chip drivers
dme1737
and I want it to look like this after testing a particular condition in my shell script (if [ SOMETING = TRUE ] then)
[CODE]
Here is how my current file (module.txt) looks like:
Code:
#Un-comment the following line to load the IDE-Floppy disk drive driver "floppy"
#floppy
# Generated by sensors-detect on Thu Jun 5 17:05:10 2008
# I2C adapter drivers
# modprobe unknown adapter CS5536 ACB0
# Chip drivers
lm90
# Generated by sensors-detect on Fri Jan 25 15:40:21 2008
# Chip drivers
#dme1737
Basically I need to append "#" character at the beginning of the line. (see the blue color above)
Thanks