saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
14
local.d/README
Normal file
14
local.d/README
Normal 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
5
local.d/local.start
Executable 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
1
local.d/truecrypt.stop
Normal file
@@ -0,0 +1 @@
|
||||
/usr/bin/truecrypt -d
|
||||
Reference in New Issue
Block a user