Polish up framework to auto-detect Mustang
This commit is contained in:
parent
32b6bdde02
commit
45feec3d78
4 changed files with 53 additions and 48 deletions
|
|
@ -9,9 +9,10 @@ if [ ! -f "mustang_midi" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
echo "Create non-privileged user for MIDI bridge"
|
||||
|
||||
useradd -M -s /bin/false mustang-user
|
||||
if ! `grep -q mustang-user /etc/passwd`; then
|
||||
echo "Create non-privileged user for MIDI bridge"
|
||||
useradd -M -s /bin/false mustang-user
|
||||
fi
|
||||
|
||||
echo "Copy program and support scripts to $BINDIR"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue