adding the mcshutdown command
This commit is contained in:
parent
eff0b92c25
commit
dc9f282d58
@ -29,6 +29,7 @@ install::
|
|||||||
if [ "$(TARGET)" = attached-mic ]; then \
|
if [ "$(TARGET)" = attached-mic ]; then \
|
||||||
mkdir -p -m 755 $(SBINDIR); \
|
mkdir -p -m 755 $(SBINDIR); \
|
||||||
install -m 755 arch/x86/tools/mcreboot-attached-mic.sh $(SBINDIR)/mcreboot; \
|
install -m 755 arch/x86/tools/mcreboot-attached-mic.sh $(SBINDIR)/mcreboot; \
|
||||||
|
install -m 755 arch/x86/tools/mcshutdown-attached-mic.sh $(SBINDIR)/mcshutdown; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
|
|||||||
16
arch/x86/tools/mcshutdown-attached-mic.sh.in
Normal file
16
arch/x86/tools/mcshutdown-attached-mic.sh.in
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# \file arch/x86/tools/mcshutdown-attached-mic.sh.in
|
||||||
|
# License details are found in the file LICENSE.
|
||||||
|
# \brief
|
||||||
|
# mckernel shutdown script
|
||||||
|
#
|
||||||
|
# \author McKernel Development Team
|
||||||
|
#
|
||||||
|
|
||||||
|
prefix="@prefix@"
|
||||||
|
BINDIR="@BINDIR@"
|
||||||
|
SBINDIR="@SBINDIR@"
|
||||||
|
KMODDIR="@KMODDIR@"
|
||||||
|
KERNDIR="@KERNDIR@"
|
||||||
|
|
||||||
|
"$SBINDIR/ihkosctl" 0 shutdown
|
||||||
3
configure
vendored
3
configure
vendored
@ -3247,7 +3247,7 @@ TARGET="$WITH_TARGET"
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile executer/user/Makefile executer/kernel/Makefile kernel/Makefile arch/x86/tools/mcreboot-attached-mic.sh mcreboot.1:mcreboot.1in"
|
ac_config_files="$ac_config_files Makefile executer/user/Makefile executer/kernel/Makefile kernel/Makefile arch/x86/tools/mcreboot-attached-mic.sh arch/x86/tools/mcshutdown-attached-mic.sh mcreboot.1:mcreboot.1in"
|
||||||
|
|
||||||
|
|
||||||
if test "x$enable_dcfa" = xyes; then :
|
if test "x$enable_dcfa" = xyes; then :
|
||||||
@ -3966,6 +3966,7 @@ do
|
|||||||
"executer/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES executer/kernel/Makefile" ;;
|
"executer/kernel/Makefile") CONFIG_FILES="$CONFIG_FILES executer/kernel/Makefile" ;;
|
||||||
"kernel/Makefile") CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
|
"kernel/Makefile") CONFIG_FILES="$CONFIG_FILES kernel/Makefile" ;;
|
||||||
"arch/x86/tools/mcreboot-attached-mic.sh") CONFIG_FILES="$CONFIG_FILES arch/x86/tools/mcreboot-attached-mic.sh" ;;
|
"arch/x86/tools/mcreboot-attached-mic.sh") CONFIG_FILES="$CONFIG_FILES arch/x86/tools/mcreboot-attached-mic.sh" ;;
|
||||||
|
"arch/x86/tools/mcshutdown-attached-mic.sh") CONFIG_FILES="$CONFIG_FILES arch/x86/tools/mcshutdown-attached-mic.sh" ;;
|
||||||
"mcreboot.1") CONFIG_FILES="$CONFIG_FILES mcreboot.1:mcreboot.1in" ;;
|
"mcreboot.1") CONFIG_FILES="$CONFIG_FILES mcreboot.1:mcreboot.1in" ;;
|
||||||
"kernel/Makefile.dcfa") CONFIG_FILES="$CONFIG_FILES kernel/Makefile.dcfa" ;;
|
"kernel/Makefile.dcfa") CONFIG_FILES="$CONFIG_FILES kernel/Makefile.dcfa" ;;
|
||||||
|
|
||||||
|
|||||||
@ -133,6 +133,7 @@ AC_CONFIG_FILES([
|
|||||||
executer/kernel/Makefile
|
executer/kernel/Makefile
|
||||||
kernel/Makefile
|
kernel/Makefile
|
||||||
arch/x86/tools/mcreboot-attached-mic.sh
|
arch/x86/tools/mcreboot-attached-mic.sh
|
||||||
|
arch/x86/tools/mcshutdown-attached-mic.sh
|
||||||
mcreboot.1:mcreboot.1in
|
mcreboot.1:mcreboot.1in
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user