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

Loading…
Cancel
Save