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:
@@ -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
|
||||
@@ -29,11 +29,12 @@ alias s="sudo -E"
|
||||
function src() {
|
||||
d="$PWD"; while [ "$d" != "/" ]; do
|
||||
for a in "$d/bin/activate" "$d/.*/bin/activate"; do
|
||||
#echo "looking bin/activate in $d"
|
||||
[ -f $a ] && source "$a" && break 2
|
||||
done
|
||||
d=$(dirname "$d")
|
||||
done
|
||||
source $HOME/.bashrc
|
||||
source $HOME/.bashrc || true
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user