#!/bin/bash # Rename all *.s to *.S for f in *.s; do mv -- "$f" "${f%.s}.S" done mv -n *.dat *.inc *.h Inc/ sed -i src/encrypt.c -e "s/\(\s\)init(/\1_init(/g" mkdir -p /tmp/f7/Drivers ln -s /tmp/f7/Drivers Drivers exit 0