One Hat Cyber Team
Your IP :
216.73.216.135
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
backup
/
dad
/
lib
/
systemd
/
system-generators
/
View File Name :
openvpn-generator
#!/bin/sh # This systemd generator creates dependency symlinks that make all OpenVPN # tunnels listed in /etc/default/openvpn's AUTOSTART be started/stopped/reloaded # when openvpn.service is started/stopped/reloaded. set -eu GENDIR="$1" WANTDIR="$1/openvpn.service.wants" SERVICEFILE="/lib/systemd/system/openvpn@.service" AUTOSTART="all" CONFIG_DIR=/etc/openvpn mkdir -p "$WANTDIR" if test -e /etc/default/openvpn ; then . /etc/default/openvpn fi # No VPNs automatically started if test "x$AUTOSTART" = "xnone" ; then exit 0 fi if test "x$AUTOSTART" = "xall" -o -z "$AUTOSTART" ; then for CONFIG in `cd $CONFIG_DIR; ls *.conf 2> /dev/null`; do NAME=${CONFIG%%.conf} ln -s "$SERVICEFILE" "$WANTDIR/openvpn@$NAME.service" done else for NAME in $AUTOSTART ; do if test -e $CONFIG_DIR/$NAME.conf ; then ln -s "$SERVICEFILE" "$WANTDIR/openvpn@$NAME.service" fi done fi exit 0