saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

14
local.d/README Normal file
View File

@@ -0,0 +1,14 @@
This directory should contain programs or scripts which are to be run
when the local service is started or stopped.
If a file in this directory is executable and it has a .start extension,
it will be run when the local service is started. If a file is
executable and it has a .stop extension, it will be run when the local
service is stopped.
All files are processed in lexical order.
Keep in mind that files in this directory are processed sequencially,
and the local service is not considered started or stopped until
everything is processed, so if you have a process which takes a long
time to run, it can delay your boot or shutdown processing.

5
local.d/local.start Executable file
View File

@@ -0,0 +1,5 @@
# echo noop > /sys/block/sda/queue/scheduler
# echo noop > /sys/block/sdb/queue/scheduler
# echo deadline > /sys/block/sda/queue/scheduler
# echo deadline > /sys/block/sdb/queue/scheduler
#sysctl -w kernel.shmmax=128000000

1
local.d/truecrypt.stop Normal file
View File

@@ -0,0 +1 @@
/usr/bin/truecrypt -d