Hi, On Mon, 07 Aug 2006 at 17:28 +0200, Markus Wigge wrote: > Hi, > > > Modified: > > trunk/freewrt/package/openvpn/ipkg/openvpn.postinst > > Log: > > bad script. always use the nice functions we have, see dropbear package. > > set default to NO. everything excluding ssh daemon should be off by default. > thanks for the hint, I did not know about those functions... > > but: If someone installs a package I assume he/she wants to run it an > activate it for startup config.
But not without setting up the application. Therefore we have a "start" command in the init-scripts. For bootup "autostart" is used and checks if it is set in /etc/rc.conf. Not all init-scripts are converted to this new style. > Especially OpenVPN will also look if it is enabled in the current old > init-script and the new init-script I'm working on will only start an > instance for each /etc/openvpn/*.conf file like Fedora does. > So it is save set it to YES. I think it is better to have it set to no by default. That's a pretty good default if you first setup stuff and test. If you accidentally misconfigure anything, you can just remove and the startupscripts are not executed. > BTW, Debian does the same for most packages too. Install apache or mysql > and they will be started on next startup. And that's a feature I really hate in Debian. It is not used by every package and there is no clear policy for that. Sometimes I just install some software on a system, to read the man pages. After that I forget to remove the software. Three weeks later I am doning some apt-get dist-upgrade and the application get automatically started. Thats really bad and a security issue for me ;) bye Waldemar -- don't open your wrt, free it http://www.freewrt.org
pgpDADDGq9cq7.pgp
Description: PGP signature
_______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
