Skip to content

Instantly share code, notes, and snippets.

/hello Secret

Created February 27, 2017 17:28
Show Gist options
  • Save anonymous/36615fd6c3b602408c61d25b2882156d to your computer and use it in GitHub Desktop.
Save anonymous/36615fd6c3b602408c61d25b2882156d to your computer and use it in GitHub Desktop.
#!/bin/sh
### BEGIN INIT INFO
# Provides: hello
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Hello to you
### END INIT INFO
# my code
user@host:/etc$ sudo find . -name "*hello"
./init.d/hello
./rc2.d/S01hello
./rc3.d/S01hello
./rc5.d/S01hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment