2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-06 12:18:46 +00:00

Changeown /usr/share/fhem to fhem, so updatefhem can work.

git-svn-id: https://svn.fhem.de/fhem/trunk@1016 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2011-09-23 11:52:45 +00:00
parent bcdc13b5ca
commit 0067bdefff

View File

@ -3,10 +3,10 @@
set -e
if ! getent passwd fhem >/dev/null; then
useradd --system --home /var/log/fhem --shell /bin/false fhem
useradd --system --home /var/log/fhem --gid dialout --shell /bin/false fhem
fi
chown -R fhem /var/log/fhem /etc/fhem.cfg
chown -R fhem /var/log/fhem /etc/fhem.cfg /usr/share/fhem
#set up of autostart
if test -x /sbin/initctl; then