sudo apt-get update
sudo apt-get upgradeTested on 17.10 Artful
| #!/bin/sh | |
| # Copyright (C) Pierre d'Herbemont, 2010 | |
| # Copyright (C) Felix Paul Kühne, 2012-2015 | |
| set -e | |
| BUILD_DEVICE=yes | |
| BUILD_SIMULATOR=yes | |
| BUILD_STATIC_FRAMEWORK=no | |
| SDK=`xcrun --sdk iphoneos --show-sdk-version` |
| #! /bin/sh | |
| # Checks if the internet connection is up. | |
| # If not, then unbind and rebind the USB port, to 'reboot' the 4G LTE stick. | |
| # If the internet is still down after that then ping Threes 'Out of Credit' page. | |
| # This is hosted on AWS and doesnt respond to pings, so I use wget instead. | |
| # By doing this, you can see if you can connect to your provider, but not the rest of the internet. | |
| # You can then know that you have perhaps run out of credit on your 4G account. | |
| # and send a notification to yourself to topup! |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride | |
| # Icon must end with two \r | |
| Icon | |
| # Thumbnails | |
| ._* |
| #!/bin/sh /etc/rc.common | |
| # Copyright (C) 2006-2011 OpenWrt.org | |
| START=10 | |
| # From https://forum.openwrt.org/viewtopic.php?id=63104 | |
| # With Kernel 4.2 or newer, this hack shouldnt be needed. See https://lists.freedesktop.org/archives/modemmanager-devel/2016-January/002489.html | |
| boot() { |
| # from https://nyman.re/post/reading-and-sending-sms-with-gcom-and-huawei/ | |
| # send using this command: | |
| # gcom -d /dev/ttyUSB0 -v -e -s sendsms.comgt | |
| # Ensure you fill in your phone number below or it wont send! | |
| opengt | |
| # set the terminal settings | |
| set com 115200n81 | |
| # echo commands |
| ####################### | |
| #EMAIL SMS IN ROOTER # | |
| ####################### | |
| # | |
| #name this file to /usr/lib/sms/forwardsms.sh | |
| #insert the following lines between "uci commit modem" and "fi" of the loop in file /usr/lib/sms/processsms | |
| #if [ -e /usr/lib/sms/forwardsms.sh ]; then |
| # Script to parse serial output from HKC alarm panel board. | |
| # When an event is parsed, notify via PushBullet. | |
| # | |
| # Converted from perl here http://www.boards.ie/vbulletin/attachment.php?attachmentid=3558$ | |
| # See post #21 in this thread http://www.boards.ie/b/thread/2057414902/2? | |
| # | |
| # Requires: | |
| # pip install pyserial | |
| # pip install pushbullet.py |
| opkg update | |
| opkg install ca-certificates | |
| wget --no-check-certificate -O /usr/lib/sms/delsms.sh https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/delsms.sh | |
| wget --no-check-certificate -O /usr/lib/sms/processsms https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/processsms | |
| wget --no-check-certificate -O /usr/lib/sms/sendsms.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/sendsms.lua | |
| wget --no-check-certificate -O /usr/lib/sms/smsread.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/smsread.lua | |
| wget --no-check-certificate -O /usr/lib/sms/pack7bit.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sms/pack7bit.lua | |
| wget --no-check-certificate -O /usr/lib/sms/smsout.lua https://raw.githubusercontent.com/ROOterDairyman/ROOter/sms_enhancements/ext-sms/files/usr/lib/sm |
| // | |
| // PendingView.swift | |
| // Dream Stream | |
| // | |
| // Created by Finbarr Brady on 23/07/2020. | |
| // | |
| import SwiftUI | |
| struct PendingView<Content: View>: View { |