removed usblogin-off and usblogin-on commands from aliases

This commit is contained in:
Ivan X 2016-07-21 09:37:01 -05:00
parent 2550d3556c
commit 4a90902dc8
2 changed files with 0 additions and 13 deletions

View File

@ -1,6 +1,3 @@
#! /bin/bash
# vim: set tabstop=4 shiftwidth=4 expandtab filetype=sh:
# A2CLOUD aliases:
alias a2cloud-setup='wget -qO /tmp/a2cloud-setup ivanx.com/a2cloud/setup/; source /tmp/a2cloud-setup'
@ -31,11 +28,6 @@ alias adtpro-stop='sudo pkill -f [A]DTPro'
alias adtpro-restart='sudo pkill -f [A]DTPro; while [[ $(ps aux | grep [A]DTPro) ]]; do sleep 1; done; adtpro-start'
alias usblogin-off='sudo sed -i "s/^\(.*-scanttyUSB\)/#\1/" /etc/inittab; sudo init q; sudo pkill -f [g]etty'
alias usblogin-on='sudo sed -i "s/^#\(.*-scanttyUSB\)/\1/" /etc/inittab; sudo init q'
alias term='source term'

View File

@ -28,11 +28,6 @@ adtpro-start : start the ADTPro service
(note: autostarts on appearance of eligible USB-to-serial adapter)
adtpro-restart : restart the ADTPro service
usblogin-off : disable shell login for USB-to-serial adapter
usblogin-on : enable shell login with USB-to-serial adapter on upper
USB port or hub attached to it, or highest-numbered port on hub
attached to lower USB port
term [-d] mono : use VT-100 (mostly monochrome) emulation in serial
shell login for ProTERM, Spectrum, Z-Link, etc. (-d sets default)
term [-d] color : use ANSI color and PC graphic text in serial shell