summaryrefslogtreecommitdiff
path: root/etc/examples/rc.local
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-14 09:04:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-07-14 09:04:03 +0000
commitb94b623b09969622a954c106f1fd6d15878ffeab (patch)
tree6ce932dd7ea93f0a2668974d77b52497d1a72f19 /etc/examples/rc.local
parent1263f25be71cfa0022962b92e227ae17caf50b43 (diff)
rc.{local,securelevel,shutdown} become examples. If versions of them
are created in /etc, they are executed (they used to be sourced) to avoid polluting the rc variable space. The powerdown= and securelevel= features are removed; they are likely only used by 2 people. the secureleve is now always raised; this is the only sensible default. ok ajacoutot
Diffstat (limited to 'etc/examples/rc.local')
-rw-r--r--etc/examples/rc.local6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/examples/rc.local b/etc/examples/rc.local
new file mode 100644
index 00000000000..5da81e278e7
--- /dev/null
+++ b/etc/examples/rc.local
@@ -0,0 +1,6 @@
+# $OpenBSD: rc.local,v 1.1 2014/07/14 09:04:02 deraadt Exp $
+
+# Site-specific startup actions, daemons, and other things which
+# can be done AFTER your system goes into securemode. For actions
+# which should be done BEFORE your system has gone into securemode
+# please see /etc/rc.securelevel.