cdsteinkuehler/beaglebone-universal-io — pull request #14 by zultron (2014-10-07 20:55:21+00:00)
Title: Preserve $HOME in cape setup script

See machinekit/machinekit#328

Using `su` clobbers the `$HOME` variable, which breaks X authentication and perhaps location of `machinekit.ini` as well.

Here, `su` isn't necessary, since `sudo` already obtains the elevated privileges needed to write to `bone_capemgr.*/slots`.