Skip to content
Commit e59c72d5 authored by Shruthi Ravichandran's avatar Shruthi Ravichandran Committed by Steve Sakoman
Browse files

initscripts: run umountnfs as a KILL script



`rc` runs all the KILL scripts in a runlevel before the START scripts.
The umountnfs script is currently configured as a START script, and
runs after the networking KILL script. During shutdown, this causes a
~3 minute timeout after networking is shutdown when the system tries
to connect to and unmount any mounted network shares.
Fix this by changing the script configuration to "stop" so that it can
run before networking is stopped and unmount any network shares
safely.

Signed-off-by: default avatarShruthi Ravichandran <shruthi.ravichandran@ni.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c419bd45)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 06cfa8be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment