modified: install/chmod.sh -> .git 664

new file:   usr/etc/systemd/sleep.conf -> no hibernation but freeze
modified:   usr/home/.bash_aliases -> src but still doesn't work
This commit is contained in:
archikid08
2026-02-23 18:29:17 +01:00
parent 08f385e20f
commit 45f4ae2458
3 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ chown -R root $MACHINE_DIR
chgrp -R $MACHINE $MACHINE_DIR chgrp -R $MACHINE $MACHINE_DIR
chmod -R 771 $MACHINE_DIR/install chmod -R 771 $MACHINE_DIR/install
chmod -R 771 $BIN_DIR chmod -R 771 $BIN_DIR
chmod -R 751 $SBIN_DIR chmod -R 661 $MACHINE_DIR/.git
find $MACHINE_DIR -type d -exec chmod 775 {} \; find $MACHINE_DIR -type d -exec chmod 775 {} \;
chown root:root /etc/pam.d/* chown root:root /etc/pam.d/*
+29
View File
@@ -0,0 +1,29 @@
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it under the
# terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2.1 of the License, or (at your option)
# any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# the /etc/systemd/sleep.conf.d/ directory. The latter is generally
# recommended. Defaults can be restored by simply deleting the main
# configuration file and all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/sleep.conf' to display the full config.
#
# See systemd-sleep.conf(5) for details.
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
SuspendState=freeze #mem standby freeze
HibernateMode=platform # shutdown
#MemorySleepMode=
#HibernateDelaySec=
#HibernateOnACPower=yes
#SuspendEstimationSec=60min
+2 -1
View File
@@ -29,11 +29,12 @@ alias s="sudo -E"
function src() { function src() {
d="$PWD"; while [ "$d" != "/" ]; do d="$PWD"; while [ "$d" != "/" ]; do
for a in "$d/bin/activate" "$d/.*/bin/activate"; do for a in "$d/bin/activate" "$d/.*/bin/activate"; do
#echo "looking bin/activate in $d"
[ -f $a ] && source "$a" && break 2 [ -f $a ] && source "$a" && break 2
done done
d=$(dirname "$d") d=$(dirname "$d")
done done
source $HOME/.bashrc source $HOME/.bashrc || true
} }