diff --git a/PR/Aufkleber/Aufkleber-Flyeralarm.jpg b/Druckwaren/Aufkleber/Aufkleber-Flyeralarm.jpg similarity index 100% rename from PR/Aufkleber/Aufkleber-Flyeralarm.jpg rename to Druckwaren/Aufkleber/Aufkleber-Flyeralarm.jpg diff --git a/PR/Aufkleber/Aufkleber.pdf b/Druckwaren/Aufkleber/Aufkleber.pdf similarity index 100% rename from PR/Aufkleber/Aufkleber.pdf rename to Druckwaren/Aufkleber/Aufkleber.pdf diff --git a/PR/Aufkleber/Aufkleber.svg b/Druckwaren/Aufkleber/Aufkleber.svg similarity index 100% rename from PR/Aufkleber/Aufkleber.svg rename to Druckwaren/Aufkleber/Aufkleber.svg diff --git a/PR/Aufkleber/Aufkleber.tif b/Druckwaren/Aufkleber/Aufkleber.tif similarity index 100% rename from PR/Aufkleber/Aufkleber.tif rename to Druckwaren/Aufkleber/Aufkleber.tif diff --git a/PR/Aufkleber/Aufkleber2.pdf b/Druckwaren/Aufkleber/Aufkleber2.pdf similarity index 100% rename from PR/Aufkleber/Aufkleber2.pdf rename to Druckwaren/Aufkleber/Aufkleber2.pdf diff --git a/PR/Aufkleber/Aufkleber2.svg b/Druckwaren/Aufkleber/Aufkleber2.svg similarity index 100% rename from PR/Aufkleber/Aufkleber2.svg rename to Druckwaren/Aufkleber/Aufkleber2.svg diff --git a/PR/Aufkleber/Aufkleber2.tif b/Druckwaren/Aufkleber/Aufkleber2.tif similarity index 100% rename from PR/Aufkleber/Aufkleber2.tif rename to Druckwaren/Aufkleber/Aufkleber2.tif diff --git a/PR/Aufkleber/Aufkleber3.pdf b/Druckwaren/Aufkleber/Aufkleber3.pdf similarity index 100% rename from PR/Aufkleber/Aufkleber3.pdf rename to Druckwaren/Aufkleber/Aufkleber3.pdf diff --git a/PR/Aufkleber/Aufkleber3.svg b/Druckwaren/Aufkleber/Aufkleber3.svg similarity index 100% rename from PR/Aufkleber/Aufkleber3.svg rename to Druckwaren/Aufkleber/Aufkleber3.svg diff --git a/PR/Aufkleber/Aufkleber3.tif b/Druckwaren/Aufkleber/Aufkleber3.tif similarity index 100% rename from PR/Aufkleber/Aufkleber3.tif rename to Druckwaren/Aufkleber/Aufkleber3.tif diff --git a/PR/Aufkleber/Aufkleber4_V2.png b/Druckwaren/Aufkleber/Aufkleber4_V2.png similarity index 100% rename from PR/Aufkleber/Aufkleber4_V2.png rename to Druckwaren/Aufkleber/Aufkleber4_V2.png diff --git a/PR/Aufkleber/Aufkleber4_V2.xcf b/Druckwaren/Aufkleber/Aufkleber4_V2.xcf similarity index 100% rename from PR/Aufkleber/Aufkleber4_V2.xcf rename to Druckwaren/Aufkleber/Aufkleber4_V2.xcf diff --git a/PR/Flagge/ffmsl-flagge.svg b/Druckwaren/Flagge/ffmsl-flagge.svg similarity index 100% rename from PR/Flagge/ffmsl-flagge.svg rename to Druckwaren/Flagge/ffmsl-flagge.svg diff --git a/PR/Plakat/Plakat_A2-Flyeralarm.tif b/Druckwaren/Plakat/Plakat_A2-Flyeralarm.tif similarity index 100% rename from PR/Plakat/Plakat_A2-Flyeralarm.tif rename to Druckwaren/Plakat/Plakat_A2-Flyeralarm.tif diff --git a/PR/Plakat/Plakat_A2.svg b/Druckwaren/Plakat/Plakat_A2.svg similarity index 100% rename from PR/Plakat/Plakat_A2.svg rename to Druckwaren/Plakat/Plakat_A2.svg diff --git a/PR/Postkarte/rueckseite.png b/Druckwaren/Postkarte/postkarte_rueckseite.png similarity index 100% rename from PR/Postkarte/rueckseite.png rename to Druckwaren/Postkarte/postkarte_rueckseite.png diff --git a/PR/Postkarte/rueckseite.svg b/Druckwaren/Postkarte/postkarte_rueckseite.svg similarity index 100% rename from PR/Postkarte/rueckseite.svg rename to Druckwaren/Postkarte/postkarte_rueckseite.svg diff --git a/PR/Postkarte/vorderseite.png b/Druckwaren/Postkarte/postkarte_vorderseite.png similarity index 100% rename from PR/Postkarte/vorderseite.png rename to Druckwaren/Postkarte/postkarte_vorderseite.png diff --git a/PR/Postkarte/vorderseite.svg b/Druckwaren/Postkarte/postkarte_vorderseite.svg similarity index 100% rename from PR/Postkarte/vorderseite.svg rename to Druckwaren/Postkarte/postkarte_vorderseite.svg diff --git a/PR/Postkarte/vorderseite_qr.png b/Druckwaren/Postkarte/postkarte_vorderseite_qr.png similarity index 100% rename from PR/Postkarte/vorderseite_qr.png rename to Druckwaren/Postkarte/postkarte_vorderseite_qr.png diff --git a/PR/Postkarte/vorderseite_qr.svg b/Druckwaren/Postkarte/postkarte_vorderseite_qr.svg similarity index 100% rename from PR/Postkarte/vorderseite_qr.svg rename to Druckwaren/Postkarte/postkarte_vorderseite_qr.svg diff --git "a/Flyer/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.pdf" "b/Druckwaren/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.pdf" similarity index 100% rename from "Flyer/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.pdf" rename to "Druckwaren/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.pdf" diff --git "a/Flyer/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.psd" "b/Druckwaren/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.psd" similarity index 100% rename from "Flyer/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.psd" rename to "Druckwaren/Tischaufsteller_100x148_lasche Freifunk m\303\274nla-v-0.1.psd" diff --git a/Flyer/flyer_ffms_wickelfalz.odt b/Druckwaren/flyer_ffms_wickelfalz.odt similarity index 100% rename from Flyer/flyer_ffms_wickelfalz.odt rename to Druckwaren/flyer_ffms_wickelfalz.odt diff --git a/Flyer/flyer_ffms_wickelfalz.pdf b/Druckwaren/flyer_ffms_wickelfalz.pdf similarity index 100% rename from Flyer/flyer_ffms_wickelfalz.pdf rename to Druckwaren/flyer_ffms_wickelfalz.pdf diff --git a/Beipackzettel/freifunkrouter-beipackzettel_ffms_v1_1.odt b/Druckwaren/freifunkrouter-beipackzettel_ffms_v1_1.odt similarity index 100% rename from Beipackzettel/freifunkrouter-beipackzettel_ffms_v1_1.odt rename to Druckwaren/freifunkrouter-beipackzettel_ffms_v1_1.odt diff --git a/Fonts/oswald/Oswald-Bold.otf b/assets/Fonts/oswald/Oswald-Bold.otf similarity index 100% rename from Fonts/oswald/Oswald-Bold.otf rename to assets/Fonts/oswald/Oswald-Bold.otf diff --git a/Fonts/oswald/Oswald-Light.otf b/assets/Fonts/oswald/Oswald-Light.otf similarity index 100% rename from Fonts/oswald/Oswald-Light.otf rename to assets/Fonts/oswald/Oswald-Light.otf diff --git a/Fonts/oswald/Oswald-Regular.otf b/assets/Fonts/oswald/Oswald-Regular.otf similarity index 100% rename from Fonts/oswald/Oswald-Regular.otf rename to assets/Fonts/oswald/Oswald-Regular.otf diff --git a/Fonts/oswald/Oswald-Stencil.otf b/assets/Fonts/oswald/Oswald-Stencil.otf similarity index 100% rename from Fonts/oswald/Oswald-Stencil.otf rename to assets/Fonts/oswald/Oswald-Stencil.otf diff --git a/Fonts/oswald/SIL Open Font License.txt b/assets/Fonts/oswald/SIL Open Font License.txt similarity index 100% rename from Fonts/oswald/SIL Open Font License.txt rename to assets/Fonts/oswald/SIL Open Font License.txt diff --git a/Fonts/roboto/Apache License.txt b/assets/Fonts/roboto/Apache License.txt similarity index 100% rename from Fonts/roboto/Apache License.txt rename to assets/Fonts/roboto/Apache License.txt diff --git a/Fonts/roboto/Roboto-Black.ttf b/assets/Fonts/roboto/Roboto-Black.ttf similarity index 100% rename from Fonts/roboto/Roboto-Black.ttf rename to assets/Fonts/roboto/Roboto-Black.ttf diff --git a/Fonts/roboto/Roboto-BlackItalic.ttf b/assets/Fonts/roboto/Roboto-BlackItalic.ttf similarity index 100% rename from Fonts/roboto/Roboto-BlackItalic.ttf rename to assets/Fonts/roboto/Roboto-BlackItalic.ttf diff --git a/Fonts/roboto/Roboto-Bold.ttf b/assets/Fonts/roboto/Roboto-Bold.ttf similarity index 100% rename from Fonts/roboto/Roboto-Bold.ttf rename to assets/Fonts/roboto/Roboto-Bold.ttf diff --git a/Fonts/roboto/Roboto-BoldItalic.ttf b/assets/Fonts/roboto/Roboto-BoldItalic.ttf similarity index 100% rename from Fonts/roboto/Roboto-BoldItalic.ttf rename to assets/Fonts/roboto/Roboto-BoldItalic.ttf diff --git a/Fonts/roboto/Roboto-Italic.ttf b/assets/Fonts/roboto/Roboto-Italic.ttf similarity index 100% rename from Fonts/roboto/Roboto-Italic.ttf rename to assets/Fonts/roboto/Roboto-Italic.ttf diff --git a/Fonts/roboto/Roboto-Light.ttf b/assets/Fonts/roboto/Roboto-Light.ttf similarity index 100% rename from Fonts/roboto/Roboto-Light.ttf rename to assets/Fonts/roboto/Roboto-Light.ttf diff --git a/Fonts/roboto/Roboto-LightItalic.ttf b/assets/Fonts/roboto/Roboto-LightItalic.ttf similarity index 100% rename from Fonts/roboto/Roboto-LightItalic.ttf rename to assets/Fonts/roboto/Roboto-LightItalic.ttf diff --git a/Fonts/roboto/Roboto-Medium.ttf b/assets/Fonts/roboto/Roboto-Medium.ttf similarity index 100% rename from Fonts/roboto/Roboto-Medium.ttf rename to assets/Fonts/roboto/Roboto-Medium.ttf diff --git a/Fonts/roboto/Roboto-MediumItalic.ttf b/assets/Fonts/roboto/Roboto-MediumItalic.ttf similarity index 100% rename from Fonts/roboto/Roboto-MediumItalic.ttf rename to assets/Fonts/roboto/Roboto-MediumItalic.ttf diff --git a/Fonts/roboto/Roboto-Regular.ttf b/assets/Fonts/roboto/Roboto-Regular.ttf similarity index 100% rename from Fonts/roboto/Roboto-Regular.ttf rename to assets/Fonts/roboto/Roboto-Regular.ttf diff --git a/Fonts/roboto/Roboto-Thin.ttf b/assets/Fonts/roboto/Roboto-Thin.ttf similarity index 100% rename from Fonts/roboto/Roboto-Thin.ttf rename to assets/Fonts/roboto/Roboto-Thin.ttf diff --git a/Fonts/roboto/Roboto-ThinItalic.ttf b/assets/Fonts/roboto/Roboto-ThinItalic.ttf similarity index 100% rename from Fonts/roboto/Roboto-ThinItalic.ttf rename to assets/Fonts/roboto/Roboto-ThinItalic.ttf diff --git a/Fonts/roboto/RobotoCondensed-Bold.ttf b/assets/Fonts/roboto/RobotoCondensed-Bold.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-Bold.ttf rename to assets/Fonts/roboto/RobotoCondensed-Bold.ttf diff --git a/Fonts/roboto/RobotoCondensed-BoldItalic.ttf b/assets/Fonts/roboto/RobotoCondensed-BoldItalic.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-BoldItalic.ttf rename to assets/Fonts/roboto/RobotoCondensed-BoldItalic.ttf diff --git a/Fonts/roboto/RobotoCondensed-Italic.ttf b/assets/Fonts/roboto/RobotoCondensed-Italic.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-Italic.ttf rename to assets/Fonts/roboto/RobotoCondensed-Italic.ttf diff --git a/Fonts/roboto/RobotoCondensed-Light.ttf b/assets/Fonts/roboto/RobotoCondensed-Light.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-Light.ttf rename to assets/Fonts/roboto/RobotoCondensed-Light.ttf diff --git a/Fonts/roboto/RobotoCondensed-LightItalic.ttf b/assets/Fonts/roboto/RobotoCondensed-LightItalic.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-LightItalic.ttf rename to assets/Fonts/roboto/RobotoCondensed-LightItalic.ttf diff --git a/Fonts/roboto/RobotoCondensed-Regular.ttf b/assets/Fonts/roboto/RobotoCondensed-Regular.ttf similarity index 100% rename from Fonts/roboto/RobotoCondensed-Regular.ttf rename to assets/Fonts/roboto/RobotoCondensed-Regular.ttf diff --git a/Icons/Freifunk-MS-DinA8-FlyeralarmDruck.jpg b/assets/Icons/Freifunk-MS-DinA8-FlyeralarmDruck.jpg similarity index 100% rename from Icons/Freifunk-MS-DinA8-FlyeralarmDruck.jpg rename to assets/Icons/Freifunk-MS-DinA8-FlyeralarmDruck.jpg diff --git a/Icons/Freifunk-MS-DinA8.svg b/assets/Icons/Freifunk-MS-DinA8.svg similarity index 100% rename from Icons/Freifunk-MS-DinA8.svg rename to assets/Icons/Freifunk-MS-DinA8.svg diff --git a/Icons/Freifunk-logo.svg b/assets/Icons/Freifunk-logo.svg similarity index 100% rename from Icons/Freifunk-logo.svg rename to assets/Icons/Freifunk-logo.svg diff --git a/Icons/Runder_Aufkleber_Schriften_als_Pfade.svg b/assets/Icons/Runder_Aufkleber_Schriften_als_Pfade.svg similarity index 100% rename from Icons/Runder_Aufkleber_Schriften_als_Pfade.svg rename to assets/Icons/Runder_Aufkleber_Schriften_als_Pfade.svg diff --git a/Icons/Runder_Aufkleber_Schriften_editierbar.svg b/assets/Icons/Runder_Aufkleber_Schriften_editierbar.svg similarity index 100% rename from Icons/Runder_Aufkleber_Schriften_editierbar.svg rename to assets/Icons/Runder_Aufkleber_Schriften_editierbar.svg diff --git a/Icons/freifunk-muenster.svg b/assets/Icons/freifunk-muenster.svg similarity index 100% rename from Icons/freifunk-muenster.svg rename to assets/Icons/freifunk-muenster.svg diff --git a/Icons/freifunk-muenster_avatar.png b/assets/Icons/freifunk-muenster_avatar.png similarity index 100% rename from Icons/freifunk-muenster_avatar.png rename to assets/Icons/freifunk-muenster_avatar.png diff --git a/Icons/freifunk-muenster_avatar.xcf b/assets/Icons/freifunk-muenster_avatar.xcf similarity index 100% rename from Icons/freifunk-muenster_avatar.xcf rename to assets/Icons/freifunk-muenster_avatar.xcf diff --git a/tools/gw-select.sh b/tools/gw-select.sh new file mode 100755 index 0000000..ab96585 --- /dev/null +++ b/tools/gw-select.sh @@ -0,0 +1,132 @@ +#!/bin/sh +################################################################################## +# Script um einem Node ein einzelnes Gateway zuzuweisen bzw. # +# die automatische Zuweisung wieder zu aktivieren. # +# # +# Nicht reboot-fest! # +# # +# Aufruf: gw-select.sh fanlin|commander|fusselkater|padad0x|sense|kgbvax01|default # +################################################################################## + + +fanlin_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=0 + } + +commander1024_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=0 + } + +fusselkater_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=0 + } + +parad0x_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=0 + } + +sense_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=0 + } + +kgbvax01_only() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=0 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=1 + } + +default() + { + uci set fastd.mesh_vpn_backbone_peer_fanlin.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_commander1024.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_fusselkater.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_parad0x.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_sense.enabled=1 + uci set fastd.mesh_vpn_backbone_peer_kgbvax01.enabled=1 + } + +recycle_fastd() + { + echo "fastd wird neu gestartet." + /etc/init.d/fastd restart + echo "Gewuenschte Konfiguration ist aktiviert!" + } +############################################# +# # +############################################# + +case "$1" in + fanlin) + fanlin_only + recycle_fastd + ;; + + commander) + commander1024_only + recycle_fastd + ;; + + fusselkater) + fusselkater_only + recycle_fastd + ;; + + parad0x) + parad0x_only + recycle_fastd + ;; + + sense) + sense_only + recycle_fastd + ;; + + kgbvax01) + kgbvax01_only + recycle_fastd + ;; + + default) + default + recycle_fastd + ;; + + *) + echo "Usage: $0 {fanlin|commander|fusselkater|parad0x|sense|kgbvax01|default}" + exit 1 +esac +exit 0 \ No newline at end of file