mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 16:09:49 +00:00
5f053827bf
git-svn-id: https://svn.fhem.de/fhem/trunk@2683 2b470e98-0d58-463d-a4d8-8e2adae1ed80
24 lines
522 B
Bash
Executable File
24 lines
522 B
Bash
Executable File
#!/bin/sh
|
|
|
|
home=/var/InternerSpeicher/fhem
|
|
|
|
cd $home
|
|
|
|
trap "" SIGHUP
|
|
modprobe cdc_acm
|
|
modprobe ftdi_sio
|
|
sleep 2
|
|
|
|
ln -sf $home/FHEM/fhemcmd.sh /var/fhemcmd
|
|
|
|
PATH=$home:$PATH
|
|
export PATH
|
|
|
|
export LD_LIBRARY_PATH=$home/lib
|
|
export PERL5LIB=$home/lib/perl5/site_perl/5.12.2/mips-linux:$home/lib/perl5/site_perl/5.12.2:$home/lib/perl5/5.12.2/mips-linux:$home/lib/perl5/5.12.2
|
|
|
|
# add user fhem with uid of boxusr80/boxusr99 (== ftpuser)
|
|
# Comment/delete everything between START and END to run FHEM as root
|
|
|
|
perl fhem.pl fhem.cfg
|