User`s manual
Part VI: Advanced Configuration.
These are advanced configuration tasks that require some level of understanding of Linux. These
additions will already be made to the pre-configured Raspbian image, but for the do-it-yourselfer, or
just curious, they are presented here.
Loading joystick driver at boot time:
The joystick driver can be made to automatically load at boot time by updating the default /etc/rc.local
file to add the a2joy line:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
_IP=$(hostname -I) || true
if [ "$_IP" ]; then
printf "My IP address is %s\n" "$_IP"
fi
# Load Apple II Pi joystick driver
a2joy
exit 0
Mounting ProDOS devices automatically:
The ProDOS devices can set up to automatically mount when logging in. First, create the directory to
mount the devices under. This example will use the ~/prodos directory. Type this:
mkdir ~/prodos
There will be a prodos directory created in the home directory of the account currently logged in. Edit
the bash scripts that run when logging in or out to automate the mount process. In the home directory
of your account:
.bash_login
if [ ! -e ~/prodos/s6d1.po ] ; then
a2mount ~/prodos
fi
23
23