mirror of
https://github.com/RasppleII/a2cloud.git
synced 2024-12-24 11:30:14 +00:00
Add modelines
This commit is contained in:
parent
e2623cbcf9
commit
b07ab9faad
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ ! $(dpkg -l irssi 2> /dev/null | grep '^ii') ]]; then
|
if [[ ! $(dpkg -l irssi 2> /dev/null | grep '^ii') ]]; then
|
||||||
echo "Installing irssi..."
|
echo "Installing irssi..."
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# A2CLOUD aliases:
|
# A2CLOUD aliases:
|
||||||
|
|
||||||
alias a2cloud-setup='wget -qO /tmp/a2cloud-setup ivanx.com/a2cloud/setup/; source /tmp/a2cloud-setup'
|
alias a2cloud-setup='wget -qO /tmp/a2cloud-setup ivanx.com/a2cloud/setup/; source /tmp/a2cloud-setup'
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
source /usr/local/etc/a2cloud-aliases
|
source /usr/local/etc/a2cloud-aliases
|
||||||
|
|
||||||
if [[ -f /usr/local/java/bin/java ]]; then
|
if [[ -f /usr/local/java/bin/java ]]; then
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
defaultNNTP="news.aioe.org"
|
defaultNNTP="news.aioe.org"
|
||||||
defaultGroups="comp.emulators.apple2:\ncomp.sys.apple2:\ncomp.sys.apple2.comm:\ncomp.sys.apple2.marketplace:\ncomp.sys.apple2.programmer:\ncomp.sys.apple2.usergroups:"
|
defaultGroups="comp.emulators.apple2:\ncomp.sys.apple2:\ncomp.sys.apple2.comm:\ncomp.sys.apple2.marketplace:\ncomp.sys.apple2.programmer:\ncomp.sys.apple2.usergroups:"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
decToHex () {
|
decToHex () {
|
||||||
# converts single-byte decimal value to hexadecimal equivalent
|
# converts single-byte decimal value to hexadecimal equivalent
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# don't do anything if ADTPro is already running
|
# don't do anything if ADTPro is already running
|
||||||
if [[ $(ps aux | grep [A]DTPro) ]]; then
|
if [[ $(ps aux | grep [A]DTPro) ]]; then
|
||||||
@ -30,4 +31,4 @@ else
|
|||||||
1>&2 echo " of a hub on the upper USB port. Not starting ADTPro server."
|
1>&2 echo " of a hub on the upper USB port. Not starting ADTPro server."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# ADTPro - *nix startup shell script
|
# ADTPro - *nix startup shell script
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ $1 == "-d" ]]; then
|
if [[ $1 == "-d" ]]; then
|
||||||
shift
|
shift
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=python:
|
||||||
|
|
||||||
"""cppo: Copy or catalog one or all files from a ProDOS raw disk image.
|
"""cppo: Copy or catalog one or all files from a ProDOS raw disk image.
|
||||||
|
|
||||||
copy all files:
|
copy all files:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# follows gzip syntax -- acts in place if filename provided, outputs to
|
# follows gzip syntax -- acts in place if filename provided, outputs to
|
||||||
# stdout with -c, accepts stdin and outputs to stdout if filename is - or absent
|
# stdout with -c, accepts stdin and outputs to stdout if filename is - or absent
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
readcharDec () {
|
readcharDec () {
|
||||||
# read one character from file & convert to equivalent decimal value
|
# read one character from file & convert to equivalent decimal value
|
||||||
@ -121,4 +122,4 @@ if [[ ! $filesCopied ]]; then
|
|||||||
else
|
else
|
||||||
echo "No files copied."
|
echo "No files copied."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
wget -qO /tmp/gsport-setup appleii.ivanx.com/a2cloud/setup/gsport-setup.txt
|
wget -qO /tmp/gsport-setup appleii.ivanx.com/a2cloud/setup/gsport-setup.txt
|
||||||
if [[ $(wc -c /tmp/gsport-setup | grep '^0 ') ]]; then
|
if [[ $(wc -c /tmp/gsport-setup | grep '^0 ') ]]; then
|
||||||
echo "Please connect to the internet to set up GSport."
|
echo "Please connect to the internet to set up GSport."
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ ( $(grep USB <<< $myTTY) || $(grep AMA <<< $myTTY) || $SSH_CLIENT || $REMOTEHOST ) && ! $DISPLAY ]]; then
|
if [[ ( $(grep USB <<< $myTTY) || $(grep AMA <<< $myTTY) || $SSH_CLIENT || $REMOTEHOST ) && ! $DISPLAY ]]; then
|
||||||
echo "Please run GSport on the console, or in an X Window."
|
echo "Please run GSport on the console, or in an X Window."
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
wget -qO /tmp/gsport-setup ivanx.com/a2cloud/setup/gsport-setup.txt
|
wget -qO /tmp/gsport-setup ivanx.com/a2cloud/setup/gsport-setup.txt
|
||||||
if [[ $(wc -c /tmp/gsport-setup | grep '^0 ') ]]; then
|
if [[ $(wc -c /tmp/gsport-setup | grep '^0 ') ]]; then
|
||||||
echo "Please connect to the internet to set up KEGS."
|
echo "Please connect to the internet to set up KEGS."
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ ! $DISPLAY ]]; then
|
if [[ ! $DISPLAY ]]; then
|
||||||
echo "Please run KEGS in an X Window."
|
echo "Please run KEGS in an X Window."
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ ( $(grep USB <<< $myTTY) || $(grep AMA <<< $myTTY) || $SSH_CLIENT || $REMOTEHOST ) && ! $DISPLAY ]]; then
|
if [[ ( $(grep USB <<< $myTTY) || $(grep AMA <<< $myTTY) || $SSH_CLIENT || $REMOTEHOST ) && ! $DISPLAY ]]; then
|
||||||
echo "Please run LinApple on the console, or in an X Window."
|
echo "Please run LinApple on the console, or in an X Window."
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# ID-bashByter routines
|
# ID-bashByter routines
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# raspbian-update
|
# raspbian-update
|
||||||
# updates Raspbian to latest version, including NOOBS if installed
|
# updates Raspbian to latest version, including NOOBS if installed
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
version="182"
|
version="182"
|
||||||
adtProVersion="2.0.1"
|
adtProVersion="2.0.1"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
origDir="$PWD"
|
origDir="$PWD"
|
||||||
[[ ! -n $1 || ! -n $2 ]] && { echo "Usage: shk2image archiveFileName imageFileName [PRODOS.DIR.NAME]"; exit 1; };
|
[[ ! -n $1 || ! -n $2 ]] && { echo "Usage: shk2image archiveFileName imageFileName [PRODOS.DIR.NAME]"; exit 1; };
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
if [[ $1 == "-d" ]]; then
|
if [[ $1 == "-d" ]]; then
|
||||||
shift
|
shift
|
||||||
setgetty=1
|
setgetty=1
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
# called by udev as:
|
# called by udev as:
|
||||||
# ttyusbhandler [add|remove] ttyUSBname
|
# ttyusbhandler [add|remove] ttyUSBname
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
ttyUSB=
|
ttyUSB=
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
|
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
|
||||||
|
|
||||||
skipWarning=
|
skipWarning=
|
||||||
drive=
|
drive=
|
||||||
|
Loading…
Reference in New Issue
Block a user