Ticket #118 (closed enhancement: fixed)

Opened 23 months ago

Last modified 16 months ago

new ifstop

Reported by: ffelix@inode64.com Owned by: roy
Priority: major Milestone:
Component: init.d scripts Version: 0.4
Keywords: Cc:

Description

Permit no stop the interface . no stop dhcp, vpn, etc... in thinclients

Attachments

net.lo.diff Download (378 bytes) - added by ffelix@inode64.com 23 months ago.

Change History

Changed 23 months ago by ffelix@inode64.com

comment:1 Changed 23 months ago by roy

  • Status changed from new to accepted

How about making it a bit more generic? We have the keywords dependency type so you could specify this in the init script

depends()
{
    keywords nostop
}

Or trigger off a variable
rc_net_eth0_keywords="nostop"

comment:2 Changed 23 months ago by roy

The network scripts already detect if / is network mounted and don't stop if this is the case. What other cases for a thin client would not want network scripts to stop?

Probably best to discuss this before implementing any patches.

comment:3 Changed 19 months ago by bugs@saschahlusiak.de

  • Version changed from 0.2 to 0.4

My thinclient has a pretty boot splash and shutdown splash, but on shutdown the splash is ended because net.lo prints an error message, when / is nfs mounted. It's not an error but at most a warning, since It's my choice it's net mounted. I too would just like to see a possibility to disable that error/warning and even the attempt of shutting it down because there is no need to shut it down, is there?

Earlier versions of the init scripts had a possibility to not stop network interfaces on shutdown at all (configured in /etc/conf.d/rc), which saved some time. Can that be reimplemented?

comment:4 Changed 16 months ago by roy

  • Status changed from accepted to closed
  • Resolution set to fixed

This is already possible.
You can add names to rc_nostop in /etc/rc.conf - it's now documented in r1527.

Note: See TracTickets for help on using tickets.