mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
910e46b28f
Summary: Pull Request resolved: https://github.com/facebook/osquery/pull/5445 This diff adds a Facebook copyright header to files in the osquery open source repository which: * Facebook owns * Do not currently have a Facebook copyright header Reviewed By: marekcirkos Differential Revision: D14122845 fbshipit-source-id: 5a0fea10189ec4ec893f7a036911fd51de0e01ae
19 lines
431 B
Bash
Executable File
19 lines
431 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
|
|
|
|
# Could be called by DPKG or RPM.
|
|
# Handle the cases we want to hook or silently claim success.
|
|
case "$1" in
|
|
configure|2)
|
|
: # Fall through to systemctl handle.
|
|
;;
|
|
*)
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
# If we have a systemd, daemon-reload away now
|
|
if [ -x /bin/systemctl ] && pidof systemd ; then
|
|
/bin/systemctl daemon-reload 2>/dev/null 2>&1
|
|
fi
|