mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
e9fc3cfdb5
git-svn-id: https://svn.fhem.de/fhem/trunk@3941 2b470e98-0d58-463d-a4d8-8e2adae1ed80
17 lines
430 B
Bash
Executable File
17 lines
430 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# On the Fritzbox 7270 V1/V2 with missing df replace home with the hardcoded
|
|
# path.
|
|
root=`df | sed -n -e '/ftp\//s/.*ftp\///p'`
|
|
home=/var/InternerSpeicher/$root/fhem
|
|
|
|
cd $home
|
|
|
|
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
|
|
|
|
perl fhem.pl fhem.cfg.demo
|