Improve the setuid situation a bit, and make it more apparent
when people really ought to make busybox setuid root. -Erik
This commit is contained in:
10
Makefile
10
Makefile
@@ -57,6 +57,16 @@ busybox.links: applets/busybox.mkll include/config.h
|
||||
|
||||
install: applets/install.sh busybox busybox.links
|
||||
$(SHELL) $< $(PREFIX)
|
||||
ifeq ($(strip $(CONFIG_FEATURE_SUID)),y)
|
||||
@echo
|
||||
@echo
|
||||
@echo --------------------------------------------------
|
||||
@echo You will probably need to make your busybox binary
|
||||
@echo setuid root to ensure all configured applets will
|
||||
@echo work properly.
|
||||
@echo --------------------------------------------------
|
||||
@echo
|
||||
endif
|
||||
|
||||
uninstall: busybox.links
|
||||
rm -f $(PREFIX)/bin/busybox
|
||||
|
||||
Reference in New Issue
Block a user