nutools/lib/init.d/install-kill-ssh-user-sessions

9 lines
290 B
Plaintext
Raw Normal View History

#!/bin/bash
# -*- coding: utf-8 mode: sh -*- vim:sw=4:sts=4:et:ai:si:sta:fenc=utf-8
source "$(dirname "$0")/../../lib/ulib/ulib" || exit 1
urequire DEFAULTS
run_as_root "$@"
cp "$scriptdir/kill-ssh-user-sessions.service" /etc/systemd/system
systemctl enable kill-ssh-user-sessions.service