Skip to content

Commit b3edf66

Browse files
author
K Meyer
committed
Merge branch 'master' of github.com:2konrad/motion
2 parents 88de1e4 + 01d3b84 commit b3edf66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

raspi_prepare.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,12 @@ EOF
8282
rm /etc/apache2/sites-enabled/000-default.conf
8383
cp /home/pi/motion/conf/localweb.conf /etc/apache2/sites-abailable/
8484
a2siteenable localweb.conf
85+
sudo su pi
8586
mkdir /home/pi/motion/web
8687
cd /home/pi/motion/data
8788
cp .header.htm ../web
8889
cp .htaccess ../web
90+
echo "<pre> $(hostname) </pre>" >> ../web/.header.htm
8991
echo "apache updted"
9092
fi
9193

0 commit comments

Comments
 (0)