#!/bin/sh # Set permissions for /dev/mem to allow user space memory mapping chmod 666 /dev/mem