-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrc.local
More file actions
executable file
·36 lines (32 loc) · 903 Bytes
/
rc.local
File metadata and controls
executable file
·36 lines (32 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
rm -rf /home/bullshark/.googleearth/Cache/*
rm -rf /home/bullshark/.local/share/Steam/config/htmlcache/Cache/*
rm -rf /home/bullshark/.local/share/Steam/steam/cached/*
rm -rf /home/bullshark/.config/Caprine/Cache/*
rm -rf /home/bullshark/.config/Caprine/Code\ Cache/*
rm -rf /home/bullshark/.cache/*
rm -rf /home/bullshark/logs/freenode*.log
rm -rf /home/bullshark/logs/gnome*.log
rmdir /home/bullshark/logs
rm -rf /root/.cache/*
rm -rf /tmp/*
rm -rf /var/tmp/*
rm -rf /var/cache/*
#TODO Bluetooth
for iface in `ls /sys/class/net | grep -v lo`
do
echo "$iface:"
macchanger -A $iface
done
exit 0