pack: realtime-privileges, docker. add user to necessary groups
This commit is contained in:
parent
e4f8369d93
commit
e320348e1e
8
fresh.sh
8
fresh.sh
@ -249,6 +249,13 @@ set_system_stuff() {
|
|||||||
echo "Leave system stuff\n\n" >> $logfile
|
echo "Leave system stuff\n\n" >> $logfile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
add_user_to_groups() {
|
||||||
|
dialog --infobox "Adding $uname to necessary groups" 0 0
|
||||||
|
ugroups="audio realtime docker"
|
||||||
|
usermod -a -G "$ugroups" "$uname"
|
||||||
|
echo "Added user $uname to groups: $ugroups\n\n" >> $logfile
|
||||||
|
}
|
||||||
|
|
||||||
set_root_bashrc() {
|
set_root_bashrc() {
|
||||||
echo ". /root/.bashrc" > /root/.bash_profile
|
echo ". /root/.bashrc" > /root/.bash_profile
|
||||||
cat <<EOF > /root/.bashrc
|
cat <<EOF > /root/.bashrc
|
||||||
@ -300,6 +307,7 @@ case $todo in
|
|||||||
fi
|
fi
|
||||||
enable_service "systemd-timesyncd" "atd"
|
enable_service "systemd-timesyncd" "atd"
|
||||||
set_root_bashrc
|
set_root_bashrc
|
||||||
|
add_user_to_groups
|
||||||
ready_steady_go
|
ready_steady_go
|
||||||
clear
|
clear
|
||||||
;;
|
;;
|
||||||
|
6
pack.csv
6
pack.csv
@ -92,7 +92,6 @@ A,P,alsa-plugins,Extra alsa plugins
|
|||||||
A,P,alsa-utils,An alternative implementation of Linux sound support
|
A,P,alsa-utils,An alternative implementation of Linux sound support
|
||||||
|
|
||||||
# A,A,apulse,Compatibility layer for applications that rely on pulseaudio
|
# A,A,apulse,Compatibility layer for applications that rely on pulseaudio
|
||||||
|
|
||||||
A,P,pulseaudio,Sound server
|
A,P,pulseaudio,Sound server
|
||||||
A,P,pulseaudio-alsa,ALSA Configuration for PulseAudio
|
A,P,pulseaudio-alsa,ALSA Configuration for PulseAudio
|
||||||
A,P,pulseaudio-jack,Jack support for PulseAudio
|
A,P,pulseaudio-jack,Jack support for PulseAudio
|
||||||
@ -101,6 +100,7 @@ A,P,jack2-dbus,The JACK low-latency audio server (dbus integration)
|
|||||||
A,P,a2jmidid,Dbus midi jack thingy
|
A,P,a2jmidid,Dbus midi jack thingy
|
||||||
A,P,qjackctl,A Qt front-end for the JACK low-latency audio server
|
A,P,qjackctl,A Qt front-end for the JACK low-latency audio server
|
||||||
A,P,python-dbus,Python bindings for DBUS
|
A,P,python-dbus,Python bindings for DBUS
|
||||||
|
A,P,realtime-privileges,Required for realtime applications
|
||||||
|
|
||||||
|
|
||||||
# Text editing
|
# Text editing
|
||||||
@ -195,6 +195,10 @@ A,P,avr-libc
|
|||||||
A,P,teensy-loader-cli
|
A,P,teensy-loader-cli
|
||||||
A,A,bootloadhid
|
A,A,bootloadhid
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
A,P,docker,Pack ship and run any application as a lightweight container
|
||||||
|
A,P,docker-compose,Yee container Yee
|
||||||
|
|
||||||
# Gaming
|
# Gaming
|
||||||
D,P,steam,play play have fun
|
D,P,steam,play play have fun
|
||||||
D,A,legendary,epic but better
|
D,A,legendary,epic but better
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user