diff options
author | 2014-07-14 10:15:33 +0000 | |
---|---|---|
committer | 2014-07-14 10:15:33 +0000 | |
commit | 55450612fe40f873ad179d06028133da9c21884f (patch) | |
tree | b70c205c93ddef46248038badb92bfb2b869e90e | |
parent | quiet /etc/rc.shutdown, it may not exist. (diff) | |
download | wireguard-openbsd-55450612fe40f873ad179d06028133da9c21884f.tar.xz wireguard-openbsd-55450612fe40f873ad179d06028133da9c21884f.zip |
Add shebang to make it clear these files are shell scripts (they are
explicitely executed by sh(1)).
discussed with deraadt@
-rw-r--r-- | etc/examples/rc.local | 5 | ||||
-rw-r--r-- | etc/examples/rc.securelevel | 7 | ||||
-rw-r--r-- | etc/examples/rc.shutdown | 5 |
3 files changed, 13 insertions, 4 deletions
diff --git a/etc/examples/rc.local b/etc/examples/rc.local index a0978bbec0d..b55007e6455 100644 --- a/etc/examples/rc.local +++ b/etc/examples/rc.local @@ -1,6 +1,9 @@ -# $OpenBSD: rc.local,v 1.2 2014/07/14 09:42:50 ajacoutot Exp $ +#!/bin/sh +# +# $OpenBSD: rc.local,v 1.3 2014/07/14 10:15:33 ajacoutot 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. +# diff --git a/etc/examples/rc.securelevel b/etc/examples/rc.securelevel index 8440918ba07..3de93861042 100644 --- a/etc/examples/rc.securelevel +++ b/etc/examples/rc.securelevel @@ -1,6 +1,9 @@ -# $OpenBSD: rc.securelevel,v 1.2 2014/07/14 09:42:27 ajacoutot Exp $ +#!/bin/sh +# +# $OpenBSD: rc.securelevel,v 1.3 2014/07/14 10:15:33 ajacoutot Exp $ # # site-specific startup actions, daemons, and other things which # can be done BEFORE your system goes into securemode. For actions # which should be done AFTER your system has gone into securemode -# please see /etc/rc.local +# please see /etc/rc.local. +# diff --git a/etc/examples/rc.shutdown b/etc/examples/rc.shutdown index 495cbc78943..b309594492c 100644 --- a/etc/examples/rc.shutdown +++ b/etc/examples/rc.shutdown @@ -1,5 +1,8 @@ -# $OpenBSD: rc.shutdown,v 1.2 2014/07/14 09:42:50 ajacoutot Exp $ +#!/bin/sh +# +# $OpenBSD: rc.shutdown,v 1.3 2014/07/14 10:15:33 ajacoutot Exp $ # # If it exists, this script is run at system-shutdown by reboot(8), # halt(8). If the architecture supports keyboard requested halting, # it is also run by init(8) when such an event happens. +# |