Browse Source

Add shebang to make it clear these files are shell scripts (they are

explicitely executed by sh(1)).
discussed with deraadt@
OPENBSD_5_6
ajacoutot 10 years ago
parent
commit
71b35ac49d
3 changed files with 13 additions and 4 deletions
  1. +4
    -1
      src/etc/examples/rc.local
  2. +5
    -2
      src/etc/examples/rc.securelevel
  3. +4
    -1
      src/etc/examples/rc.shutdown

+ 4
- 1
src/etc/examples/rc.local View File

@ -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.
#

+ 5
- 2
src/etc/examples/rc.securelevel View File

@ -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.
#

+ 4
- 1
src/etc/examples/rc.shutdown View File

@ -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.
#

Loading…
Cancel
Save