debian-finish.sh: missing fi

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/37/head
Robert Nelson 10 years ago
parent be55fa4c82
commit 4225447b96

@ -118,11 +118,12 @@ cat > /etc/init.d/generic-boot-script.sh <<-__EOF__
case "\$1" in case "\$1" in
start|reload|force-reload|restart) start|reload|force-reload|restart)
if [ -f /boot/SOC.sh ] ; then if [ -f /boot/SOC.sh ] ; then
board=\$(grep board /boot/SOC.sh | awk -F"=" '{print \$2}') board=\$(grep board /boot/SOC.sh | awk -F"=" '{print \$2}')
if [ -f "/opt/scripts/boot/\${board}.sh" ] ; then if [ -f "/opt/scripts/boot/\${board}.sh" ] ; then
/bin/sh /opt/scripts/boot/\${board}.sh >/dev/null 2>&1 & /bin/sh /opt/scripts/boot/\${board}.sh >/dev/null 2>&1 &
fi fi
fi
;; ;;
stop) stop)
exit 0 exit 0

Loading…
Cancel
Save