how to add lines into a config file?
Moin,
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
files.
Thanks
--
|Michael Renner E-mail: michael.renner@gmx.de |
|D-72072 Tuebingen Germany |
|Germany Don't drink as root! ESC:wq
Reply to: