From 8630337c80269b3d60f46e04c61fbaa272a193c4 Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Thu, 13 May 2010 12:05:53 +0000 Subject: [PATCH] Fix permissions for halt, reboot, and shutdown --- commands/reboot/Makefile | 1 + commands/tinyhalt/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/commands/reboot/Makefile b/commands/reboot/Makefile index 2dde81bdb..203688efb 100644 --- a/commands/reboot/Makefile +++ b/commands/reboot/Makefile @@ -3,6 +3,7 @@ PROGS= shutdown halt SRCS.shutdown= shutdown.c sh_wall.c log.c SRCS.halt= halt.c log.c +BINMODE= 4754 LINKS+= ${BINDIR}/halt ${BINDIR}/reboot MAN.shutdown= MAN.halt= diff --git a/commands/tinyhalt/Makefile b/commands/tinyhalt/Makefile index afbe20a40..0db22c4ce 100644 --- a/commands/tinyhalt/Makefile +++ b/commands/tinyhalt/Makefile @@ -5,6 +5,7 @@ PROG= halt SRCS= tinyhalt.c BINDIR= /bin +BINMODE= 744 LINKS+= ${BINDIR}/halt ${BINDIR}/reboot MAN=