You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ublinux-init/ublinux/rc.xorg/90-secretnet

17 lines
438 B

#!/bin/bash
ENABLED=yes
[[ ${ENABLED} == "yes" ]] || exit 0
SNLIBS=/opt/secretnet/lib
[ -d "$SNLIBS" ] || exit 0
getent group snlogger || addgroup snlogger
getent group snadmin || addgroup snadmin
ldconfig $SNLIBS
systemctl is-active sn >/dev/null || systemctl restart sn
export PATH=$PATH:/usr/lib/ublinux/scripts:/opt/secretnet/sbin:/opt/secretnet/bin:/usr/lib/qt4/bin
/opt/secretnet/bin/snaidectl -i
/opt/secretnet/sbin/snunblock