mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-12 02:39:57 +00:00
add root sbit to dfu-programmer
git-svn-id: https://svn.fhem.de/fhem/trunk@2117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
197e5ebaea
commit
4e144f4132
@ -24,8 +24,9 @@ if [ "$?" -ne "0" ]; then
|
||||
echo "user fhem does not exist. Adding it."
|
||||
echo "fhem:any:1080:0:fhem:/home-not-used:/bin/sh" >>/var/tmp/passwd
|
||||
# set files ownership
|
||||
chown -R boxusr80 ${home}/log
|
||||
chown -R boxusr80 ${home}/FHEM
|
||||
chown -R boxusr80 FHEM docs fhem.pl log fhem.cfg www
|
||||
chown root dfu-programmer
|
||||
chmod u+s dfu-programmer
|
||||
fi
|
||||
|
||||
perl fhem.pl fhem.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user