* As '''root''' (or precede commands with <code>sudo</code>), install the mount_shares_locally initd script:
=== On Amahi 10 or greater (Fedora) ===
dnf install cifs-utils
cp /usr/share/hda-ctl/mount_shares_locally /etc/init.d
chkconfig --add mount_shares_locally
=== On Amahi 7/8/9 (Fedora) ===
yum install cifs-utils
curl -o /etc/init.d/mount_shares_locally <nowiki>http://dl.amahi.org</nowiki>/mount_shares_locally.fedora
::'''NOTE:''' <code>yum</code> (deprecated) has been replaced with <code>dnf</code> as the package manager for Fedora 23 or greater.
=== On Amahi 6 (Ubuntu 12.04) ===
sudo apt-get install cifs-utils curl
sudo curl -o /etc/init.d/mount_shares_locally <nowiki>http://dl.amahi.org/mount_shares_locally.ubuntu</nowiki>