Skip to content

Commit

Permalink
board/pluto: Remove references to nonexistent language html pages
Browse files Browse the repository at this point in the history
These have been removed some time ago...

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and commodo committed May 22, 2019
1 parent 2d936c0 commit aff77ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion board/pluto/S40network
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ create_system_files () {

### /www/index.html ###

sed -i -e "s/#IP#/$IPADDR/g" -e "s/#HOSTIP#/$IPADDR_HOST/g" -e "s/#NETMASK#/$NETMASK/g" -e "s/#HOSTNAME#/$HOSTNAME/g" -e "s/#SSID_WLAN#/$WLAN_SSID/g" -e "s/#IPADDR_WLAN#/$WLAN_IPADDR/g" -e "s/#IPADDR_ETH#/$ETH_IPADDR/g" -e "s/#NETMASK_ETH#/$ETH_NETMASK/g" /www/index.html /www/img/index_*.html
sed -i -e "s/#IP#/$IPADDR/g" -e "s/#HOSTIP#/$IPADDR_HOST/g" -e "s/#NETMASK#/$NETMASK/g" -e "s/#HOSTNAME#/$HOSTNAME/g" -e "s/#SSID_WLAN#/$WLAN_SSID/g" -e "s/#IPADDR_WLAN#/$WLAN_IPADDR/g" -e "s/#IPADDR_ETH#/$ETH_IPADDR/g" -e "s/#NETMASK_ETH#/$ETH_NETMASK/g" /www/index.html

}

Expand Down
3 changes: 1 addition & 2 deletions board/pluto/S45msd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ patch_html_page() {
case "$1" in
start)
echo -n "Starting MSD Daemon: "
patch_html_page "/www/index.html /www/img/index_*.html" /www/img/version.js
patch_html_page /www/index.html /www/img/version.js
losetup /dev/loop7 $img -o 512
mount /dev/loop7 /mnt

Expand All @@ -42,7 +42,6 @@ case "$1" in

cp -a /www/* /mnt/
mv /mnt/index.html /mnt/info.html
sed -i -e "s/..\/index.html/..\/info.html/g" /mnt/img/index_*.html
umount /mnt
echo $img > $file

Expand Down

0 comments on commit aff77ff

Please sign in to comment.