[Holger Levsen]
> I think it's better to give a list of commands, then to provide a
> script…
Why? I believe the opposite, and wonder what is your rationale for not
providing a script? To me, a script is a shared and tested recipe, and
a lot better than a list of commands in the documentation
-
Hi Wolfgang,
thanks for picking up this old issue!
On Tue, Feb 14, 2017 at 05:31:04PM +0100, Wolfgang Schweer wrote:
> The documentation could include something like this:
in general: yay, this looks very good!
> #!/bin/sh
> # Turn a system with profile 'Minimal' into a gateway/firewall.
> #
>
The documentation could include something like this:
#!/bin/sh
# Turn a system with profile 'Minimal' into a gateway/firewall.
#
sed -i 's/auto eth0/auto eth0 eth1/' /etc/network/interfaces
sed -i '/eth1/ s/dhcp/static/' /etc/network/interfaces
echo 'address 10.0.0.1' >> /etc/network/interfaces
ec
3 matches
Mail list logo