diff options
Diffstat (limited to 'net/dhid/Makefile')
-rw-r--r-- | net/dhid/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile index b3cac1562db8..622c66866d7b 100644 --- a/net/dhid/Makefile +++ b/net/dhid/Makefile @@ -27,8 +27,8 @@ post-install: @if [ ! -f ${PREFIX}/etc/rc.d/dhid.sh ]; then \ ${ECHO} "===> Installing ${PREFIX}/etc/rc.d/dhid.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/dhid.sh; \ - ${ECHO} "[ -x \"${PREFIX}/sbin/dhid\" -a -f \"${PREFIX}/etc/dhid.conf\" ] && ${PREFIX}/sbin/dhid > /dev/null && echo -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \ - chmod 751 ${PREFIX}/etc/rc.d/dhid.sh; \ + ${ECHO} "[ -x \"${PREFIX}/sbin/dhid\" -a -f \"${PREFIX}/etc/dhid.conf\" ] && ${PREFIX}/sbin/dhid > /dev/null && ${ECHO} -n ' dhid'" >> ${PREFIX}/etc/rc.d/dhid.sh; \ + ${CHMOD} 751 ${PREFIX}/etc/rc.d/dhid.sh; \ fi; @${ECHO} "--------------------------------------------------------------------------" @${ECHO} "Before dhid can run, you will need to register with a DHIS provider." |