b18e34c905
- add all precommit checks from pre-commit's hooks repo - ensure scripts with shebangs are executable
8 lines
114 B
Bash
Executable File
8 lines
114 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
if ! systemctl -q is-active incus.service; then
|
|
exit 0
|
|
fi
|
|
|
|
exec /usr/lib/incus/incusd shutdown
|