Re: Question about kernel boot parameter
- Date: Fri, 8 Jun 2018 16:44:32 +0200
- From: Dejan Jocic <jodejka@xxxxxxxxx>
- Subject: Re: Question about kernel boot parameter
On 08-06-18, stuv wrote:
> Hi everyone,
> I'm using a debian derivate of linux and i'm searching for a way to
> make permanent changes to the kernel boot parameters without GRUB or
> any other boot loader, i want to disable ipv6 permanently, when i do it
> over /init.d/modprobe.d the changes only last until the next reboot.
> best regards.
and then read files /etc/sysctl.conf and files under /etc/sysctl.d/.
Those should give you enough examples. For your example, line you need
to add to some of those files, or even better new file under sysctl.d
with descriptive name for what will be done in it:
net.ipv6.conf.all.disable_ipv6 = 1