[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to add lines into a config file?

I want to make a deb package, which has to add some lines into a config file 
(the /etc/lilo.conf) after the installation (DEBIAN/postinstall) and to 
remove this lines from the file, if the package is removed (DEBIAN/prerm).
What is the right method to do such thinks? Or what would be a good example 
package to see how other devolopers add and remove lines to or from existing 

|Michael Renner      E-mail: michael.renner@gmx.de  |
|D-72072 Tuebingen   Germany                        |
|Germany             Don't drink as root!      ESC:wq

Reply to: