:: Re: [DNG] Starting shorewall.
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Arnt Karlsen
Ημερομηνία:  
Προς: dng
Αντικείμενο: Re: [DNG] Starting shorewall.
On Mon, 24 Nov 2025 18:54:37 +0100, Arnt wrote in message
<20251124185437.7c564582@dvn>:

> On Mon, 24 Nov 2025 18:47:32 +0100, Arnt wrote in message
> <20251124184732.506ced8e@dvn>:
>
> > On 24 Nov 2025 05:27:37 -0700, Peter wrote in message
> > <20251124132743.6DB24227CF5@???>:
> >
> > > Hi,
> > >
> > > Daedalus with sysvinit is working here. Shorewall is installed and
> > > can be started interactively. I want shorewall to start
> > > automatically.
> > >
> > > Searching "site:devuan.org init" and "site:devuan.org sysvinit"
> > > produced citations about init freedom. Good; init freedom is
> > > nice.
> > >
> > > No mention of init on https://www.devuan.org/os/install . What 
> > > documentation is recommended make sysvinit work?    

> >
> > ..read https://thelinuxcode.com/use-etc-rc-local-boot/
> >
>
> ..specificly: "Options for Linux distributions with SysVinit
> First, for older Linux distributions still using SysVinit, like
> CentOS 6 or RHEL 6, rc.local should work out of the box.
>
> These systems still boot using the System V init process. SysVinit
> starts all system services defined in scripts under /etc/init.d/,
> thenfinishes by running /etc/rc.local.
>
> So for SysVinit-based systems, you can just start using rc.local:
>
> Create /etc/rc.local if it doesn‘t exist already
> Add your commands:
> #!/bin/sh
> # My startup commands
>
> /opt/script.sh
>
> exit 0
> Make sure it has execute permissions:
> chmod +x /etc/rc.local
> And rc.local will run your commands at the end of each boot!
>
> Note that on many distributions, rc.local already exists but is empty.
> You just need to add your desired scripts or commands."
>
> ..googling really _sucks_ nowadays...
>


...aaand I missed the fact /etc/rc.local should be a symlink
to /etc/init.d/rc.local and /etc/rc?.d/rc.local.

--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.