Add first bunch of scripts
This commit is contained in:
parent
0872b56f73
commit
28e708583a
1
disable-atrun-cron
Normal file
1
disable-atrun-cron
Normal file
@ -0,0 +1 @@
|
||||
sed -i ".bak" '/atrun/s/^/#/g' /etc/crontab && echo "disabled atrun in crontab"
|
1
disable-periodic-cron
Normal file
1
disable-periodic-cron
Normal file
@ -0,0 +1 @@
|
||||
sed -i ".bak" '/periodic/s/^/#/g' /etc/crontab && echo "disabled periodic scripts in crontab"
|
1
disable-periodic-scripts
Normal file
1
disable-periodic-scripts
Normal file
@ -0,0 +1 @@
|
||||
grep _enable= /etc/defaults/periodic.conf | sed 's#YES#NO#g' > /etc/periodic.conf && echo "disabled all periodic scripts"
|
2
disable-unused-ttys
Normal file
2
disable-unused-ttys
Normal file
@ -0,0 +1,2 @@
|
||||
sed -i ".bak" -e '/ttyv[2-9]/s/on /off/g' /etc/ttys && init q && echo "disabled additional ttyvX instances in /etc/ttys"
|
||||
|
Loading…
x
Reference in New Issue
Block a user