__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/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/[email protected]"
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


Filemanager

Name Type Size Permission Actions
cloud-init-generator File 3.02 KB 0755
friendly-recovery File 286 B 0755
netplan File 22.55 KB 0755
openvpn-generator File 899 B 0755
snapd-generator File 26.23 KB 0755
sshd-socket-generator File 342.93 KB 0755
systemd-cryptsetup-generator File 34.64 KB 0755
systemd-debug-generator File 22.61 KB 0755
systemd-fstab-generator File 54.84 KB 0755
systemd-getty-generator File 22.45 KB 0755
systemd-gpt-auto-generator File 34.63 KB 0755
systemd-hibernate-resume-generator File 26.59 KB 0755
systemd-integritysetup-generator File 22.57 KB 0755
systemd-rc-local-generator File 14.37 KB 0755
systemd-run-generator File 14.55 KB 0755
systemd-ssh-generator File 26.37 KB 0755
systemd-system-update-generator File 14.45 KB 0755
systemd-sysv-generator File 34.45 KB 0755
systemd-tpm2-generator File 14.37 KB 0755
systemd-veritysetup-generator File 30.8 KB 0755
Filemanager