summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remote/rootfs/rootfs-stage32/data/etc/profile4
-rw-r--r--server/blacklists/essential/cron14
2 files changed, 18 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/etc/profile b/remote/rootfs/rootfs-stage32/data/etc/profile
index 23e7373c..36ebb4c4 100644
--- a/remote/rootfs/rootfs-stage32/data/etc/profile
+++ b/remote/rootfs/rootfs-stage32/data/etc/profile
@@ -47,6 +47,10 @@ for i in /etc/profile.d/*.sh ; do
fi
done
+# Sourcing /etc/profile.local - please add custom stuff to profile.local
+# as /etc/profile may be overwritten by system updates
+test -s /etc/profile.local && . /etc/profile.local
+
if [ -s "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
diff --git a/server/blacklists/essential/cron b/server/blacklists/essential/cron
new file mode 100644
index 00000000..bdbb376d
--- /dev/null
+++ b/server/blacklists/essential/cron
@@ -0,0 +1,14 @@
+- /etc/crontab
+- /usr/sbin/cron
+- /usr/sbin/crontab
+- /usr/bin/cron
+- /usr/bin/crontab
+- /sbin/cron
+- /sbin/crontab
+- /bin/cron
+- /bin/crontab
+- /etc/crontab
+- /etc/cron.hourly
+- /etc/cron.daily
+- /etc/cron.weekly
+