diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-16 19:23:30 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-16 19:23:30 +0300 |
commit | 8ba323f055f31c10a1c11d78065700b11a55aae4 (patch) | |
tree | 06558e72b56e17ce2985f7cca1380812901e5c08 | |
parent | ee593c6930c0b4833880cea309c73437107afe03 (diff) | |
download | init-8ba323f055f31c10a1c11d78065700b11a55aae4.tar.gz |
init: allow installing hooks to lib directory
-rw-r--r-- | rc.lib | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ shell() { run_hook() { out "Running '$1' hooks..." - for hook in "/etc/init/"*".$1"; do + for hook in "/etc/init/"*".$1" "/usr/lib/init/hooks/"*".$1"; do [ -f "$hook" ] || continue out "Running '$hook'..." . "$hook" |