startscript korrekturen und änderungen
This commit is contained in:
1 parent
3eb41f950f
commit
a602ea3979
1 file changed
+13
-8
@@ -141,6 +141,7 @@ settings = {
|
|||||||
"git curl ca-certificates mc openssh-client "
|
"git curl ca-certificates mc openssh-client "
|
||||||
"python3-venv python3-pip "
|
"python3-venv python3-pip "
|
||||||
"python3-gpiozero python3-lgpio python3-spidev i2c-tools "
|
"python3-gpiozero python3-lgpio python3-spidev i2c-tools "
|
||||||
|
"fonts-dejavu-core fonts-liberation2 fonts-lato fonts-freefont-ttf"
|
||||||
),
|
),
|
||||||
"AUTO_SETUP_CUSTOM_SCRIPT_EXEC": "1",
|
"AUTO_SETUP_CUSTOM_SCRIPT_EXEC": "1",
|
||||||
"CONFIG_BOOT_WAIT_FOR_NETWORK": "2",
|
"CONFIG_BOOT_WAIT_FOR_NETWORK": "2",
|
||||||
@@ -356,16 +357,20 @@ cat > /home/dietpi/.local/share/code-server/User/settings.json <<'JSONSETTINGS'
|
|||||||
{
|
{
|
||||||
"telemetry.telemetryLevel": "off",
|
"telemetry.telemetryLevel": "off",
|
||||||
"workbench.enableExperiments": false,
|
"workbench.enableExperiments": false,
|
||||||
|
|
||||||
"chat.disableAIFeatures": true,
|
"chat.disableAIFeatures": true,
|
||||||
|
|
||||||
"extensions.autoCheckUpdates": false,
|
"extensions.autoCheckUpdates": false,
|
||||||
"extensions.autoUpdate": off,
|
"extensions.autoUpdate": false,
|
||||||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
|
||||||
"python.terminal.activateEnvironment": true,
|
"python.terminal.activateEnvironment": false,
|
||||||
|
"python.languageServer": "None",
|
||||||
|
|
||||||
"editor.tabSize": 4,
|
"editor.tabSize": 4,
|
||||||
"files.encoding": "utf8",
|
"files.encoding": "utf8",
|
||||||
|
|
||||||
"git.enableSmartCommit": true,
|
"git.enableSmartCommit": true,
|
||||||
"workbench.editor.empty.hint": "hidden",
|
"workbench.editor.empty.hint": "hidden"
|
||||||
"python.languageServer": "None"
|
|
||||||
}
|
}
|
||||||
JSONSETTINGS
|
JSONSETTINGS
|
||||||
chown -R dietpi:dietpi /home/dietpi/.local/share/code-server
|
chown -R dietpi:dietpi /home/dietpi/.local/share/code-server
|
||||||
@@ -698,9 +703,9 @@ GIT_HOSTNAME="$(hostname)"
|
|||||||
|
|
||||||
echo "Konfiguriere Git-Benutzer für ${GIT_HOSTNAME} ..."
|
echo "Konfiguriere Git-Benutzer für ${GIT_HOSTNAME} ..."
|
||||||
|
|
||||||
sudo -u dietpi git config --global user.name "${GIT_HOSTNAME}"
|
runuser -u dietpi -- git config --global user.name "${GIT_HOSTNAME}"
|
||||||
sudo -u dietpi git config --global user.email "${GIT_HOSTNAME}@raspi-labor.local"
|
runuser -u dietpi -- git config --global user.email "${GIT_HOSTNAME}@raspi-labor.local"
|
||||||
sudo -u dietpi git config --global core.sshCommand "ssh -4 -p 2222"
|
runuser -u dietpi -- git config --global core.sshCommand "ssh -4 -p 2222"
|
||||||
|
|
||||||
# I2C- und weitere Boot-Konfigurationen werden erst nach einem Neustart
|
# I2C- und weitere Boot-Konfigurationen werden erst nach einem Neustart
|
||||||
# vollständig wirksam. Den ersten Start daher automatisch abschließen.
|
# vollständig wirksam. Den ersten Start daher automatisch abschließen.
|
||||||
|
|||||||
Reference in new issue
Block a user