Install nextboot in /rescue as /rescue/nextboot rather than
/rescue/nextboot.sh to match the name in /sbin (/sbin/nextboot). Reviewed by: gtetlow MFC after: 1 week
This commit is contained in:
parent
f835cdfb05
commit
71d1cb326f
@ -6,7 +6,7 @@ BINDIR?=/rescue
|
||||
|
||||
# Shell scripts need #! line to be edited from /bin/sh to /rescue/sh
|
||||
SCRIPTS= nextboot_FIXED
|
||||
SCRIPTSNAME_nextboot_FIXED= nextboot.sh
|
||||
SCRIPTSNAME_nextboot_FIXED= nextboot
|
||||
nextboot_FIXED: ../../sbin/reboot/nextboot.sh
|
||||
sed '1s/\/bin\//\/rescue\//' ${.ALLSRC} > ${.TARGET}
|
||||
CLEANFILES+= nextboot_FIXED
|
||||
|
Loading…
Reference in New Issue
Block a user