mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
PnP - This is a WiP. Set shell to /bin/bash for new users; Added radio model to Conky display; Added initial rigctld wrapper script; Added active-radio command to et-system-info; Fixed missing ET_HOME env variable in rigctld wrapper; Added et user; Added CAT controller installer
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
# The DSHELL variable specifies the default login shell on your
|
||||
# system.
|
||||
#DSHELL=/bin/bash
|
||||
DSHELL=/bin/bash
|
||||
|
||||
# The DHOME variable specifies the directory containing users' home
|
||||
# directories.
|
||||
|
||||
@@ -17,15 +17,17 @@ conky.config = {
|
||||
};
|
||||
|
||||
conky.text = [[
|
||||
${font DejaVu Sans Mono:size=14}${alignc}${time %A, %B %d %Y}
|
||||
${font DejaVu Sans Mono:size=12}${alignc}${time %A, %B %d %Y}
|
||||
Local: ${alignr}${time %H:%M:%S}
|
||||
UTC: ${alignr}${tztime UTC %H:%M:%S}
|
||||
Uptime: ${uptime}
|
||||
|
||||
IP: ${execpi 60 /opt/emcomm-tools/bin/et-system-info ip}
|
||||
|
||||
${execp /opt/emcomm-tools/bin/et-system-info release}
|
||||
CAT: ${execpi 15 /opt/emcomm-tools/bin/et-system-info et-cat}
|
||||
GPS: ${execpi 15 /opt/emcomm-tools/bin/et-system-info et-gps}
|
||||
Radio: ${execpi 10 et-system-info active-radio}
|
||||
CAT : ${execpi 10 et-system-info et-cat}
|
||||
GPS : ${execpi 10 et-system-info et-gps}
|
||||
|
||||
${font DejaVu Sans Mono:size=10}${alignc}${execp /opt/emcomm-tools/bin/et-system-info release}
|
||||
]];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 28 September 2024
|
||||
# Updated : 5 October 2024
|
||||
# Updated : 9 October 2024
|
||||
# Purpose : udev rules for the Icom IC-705
|
||||
#
|
||||
# Preconditions:
|
||||
@@ -9,6 +9,7 @@
|
||||
# Postconditions:
|
||||
# 1. /dev/et-cat created
|
||||
# 2. /dev/et-gps created
|
||||
# 3. rigctld is started
|
||||
#
|
||||
# Resources
|
||||
# - https://www.florian-wolters.de/posts/ic705-serial-device-symlinks/
|
||||
@@ -21,12 +22,13 @@ KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", ATTRS{product}=="IC-705", \
|
||||
# Create consistent device name/path for the CAT serial device
|
||||
ENV{ET_DEVICE}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", \
|
||||
ACTION=="add", \
|
||||
ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat"
|
||||
ENV{ET_SUBDEVICE}="CAT", GROUP="dialout", MODE="0660", SYMLINK+="et-cat", \
|
||||
RUN+="/opt/emcomm-tools/sbin/wrapper-rigtctld.sh start"
|
||||
|
||||
# Create consistent device name/path for the GPS serial device
|
||||
ENV{ET_DEVICE}=="IC-705", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", \
|
||||
ACTION=="add", \
|
||||
ENV{ET_SUBDEVICE}="GPS", GROUP="dialout", MODE="0660", SYMLINK+="et-gps", \
|
||||
RUN+="/opt/emcomm-tools/sbin/wrapper-gpsd.sh start"
|
||||
RUN+="/usr/bin/systemctl start rigctld"
|
||||
|
||||
# TODO: Add rules for sound card
|
||||
|
||||
Reference in New Issue
Block a user