You are here
Stas Grishin - Fri, 2010/01/22 - 18:53
Is there a recommended way to add lines to the confconsole usage.txt file?
I tried:
#add usage information
$USAGE=/etc/confconsole/usage.txt
sed -i -e "6 a OpenFire Admin: https://$ipaddr:9090" -e "6 a OpenFire: $ipaddr:5222" $USAGE
sed -i '9,10 d' $USAGE
I got this error when trying to patch an iso with the patch file:
/tmp/tklpatch/conf: line 38: =/etc/confconsole/usage.txt: No such file or directory
Forum:
Remove leading $ sign
Remove the leading $ in this line:
$USAGE=/etc/confconsole/usage.txt
It thinks you are calling the variable instead of declaring it.
Thanks
I can't believe I made that mistake. I guess I've been looking at code for too long and it's starting to get all jumbled in my head.
I have done it too!
The reason I saw it so quickly is because I have made that mistake many, many times too!
I would just use the overlay
Add new comment