Changeown /usr/share/fhem to fhem, so updatefhem can work.
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1016 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -3,10 +3,10 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
if ! getent passwd fhem >/dev/null; then
|
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
|
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
|
#set up of autostart
|
||||||
if test -x /sbin/initctl; then
|
if test -x /sbin/initctl; then
|
||||||
|
|||||||
Reference in New Issue
Block a user