diff --git a/dist/hook_magic_36558b710a.sh b/dist/hook_magic_36558b710a.sh index 45f0568..f600c4f 100644 --- a/dist/hook_magic_36558b710a.sh +++ b/dist/hook_magic_36558b710a.sh @@ -33,6 +33,9 @@ if ! mount -o remount,rw /; then error_exit fi +# Create backup folder +mkdir -p "${USB_ROOT}/BACKUP" + # Backup original kernel if [ ! -f "${USB_ROOT}/BACKUP/uImage" ] && [ ! -f "/usr/bin/input_relay" ] && [ ! -f "/usr/bin/ddgo-pnp-controller" ]; then if ! cp /tmp/boot/uImage "${USB_ROOT}/BACKUP/"; then