mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 22:30:05 +00:00
runlevel/wall: depend on utmp feature
These utils use funcs from utmp.h (like setutent), but utmp.h is only included when FEATURE_UTMP is enabled. Otherwise we get build failures due to missing defines/prototypes. So depend on this option. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
fbea220560
commit
ca18e25525
@ -583,6 +583,7 @@ config RFKILL
|
|||||||
config RUNLEVEL
|
config RUNLEVEL
|
||||||
bool "runlevel"
|
bool "runlevel"
|
||||||
default y
|
default y
|
||||||
|
depends on FEATURE_UTMP
|
||||||
help
|
help
|
||||||
find the current and previous system runlevel.
|
find the current and previous system runlevel.
|
||||||
|
|
||||||
@ -658,6 +659,7 @@ config VOLNAME
|
|||||||
config WALL
|
config WALL
|
||||||
bool "wall"
|
bool "wall"
|
||||||
default y
|
default y
|
||||||
|
depends on FEATURE_UTMP
|
||||||
help
|
help
|
||||||
Write a message to all users that are logged in.
|
Write a message to all users that are logged in.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user