mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Created et-data group for shared data access; made et-data the default group for all user accounts; removed ET_USER as a service user is no longer required; set the default umask to 002; refactored Panasonic brightness fix to remove duplicative installation tasks; added first round of radio configuration
This commit is contained in:
@@ -2,22 +2,13 @@
|
||||
#
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 16 January 2023
|
||||
# Updated : 16 March 2024
|
||||
# Updated : 9 October 2024
|
||||
# Purpose : Fix screen brightness on Panasonic hardware
|
||||
|
||||
et-log "Installing Panasonic brightness fix..."
|
||||
|
||||
apt install inotify-tools -y
|
||||
|
||||
if [ ! -e $ET_HOME/sbin ]; then
|
||||
mkdir -v -p $ET_HOME/sbin
|
||||
chown -v $ET_USER:$ET_GROUP $ET_HOME/sbin
|
||||
fi
|
||||
|
||||
cp -v ../overlay/$ET_HOME/sbin/panasonic-set-brightness.sh $ET_HOME/sbin/
|
||||
chmod -v 755 $ET_HOME/sbin/panasonic-set-brightness.sh
|
||||
chown -v $ET_USER:$ET_GROUP $ET_HOME/sbin/*
|
||||
|
||||
cp -v ../overlay/lib/systemd/system/panasonic-brightness.service /lib/systemd/system/
|
||||
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user