Check if /sbin/nextboot exists before running it.
PR: 93466 Submitted by: Mats Palmgren
This commit is contained in:
parent
431fe15da4
commit
2bf76d274f
@ -34,7 +34,9 @@ root_start()
|
||||
|
||||
# If we booted a special kernel remove the record
|
||||
# so we will boot the default kernel next time.
|
||||
/sbin/nextboot -D
|
||||
if [ -x /sbin/nextboot ]; then
|
||||
/sbin/nextboot -D
|
||||
fi
|
||||
}
|
||||
|
||||
load_rc_config $name
|
||||
|
Loading…
x
Reference in New Issue
Block a user