����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
### Enable serial console
###
if ! type -p stty &>/dev/null; then
echo "WARNING: stty not found, serial console disabled." >&2
return
fi
if type -p getty &>/dev/null; then
# Debian, Ubuntu,...
GETTY=getty
elif type -p agetty &>/dev/null; then
# Fedora, RHEL, SLES,...
GETTY=agetty
else
echo "WARNING: getty or agetty not found, serial console disabled." >&2
return
fi
for devnode in $(ls /dev/ttyS[0-9]* | sort); do
speed=$(stty -F $devnode 2>/dev/null | awk '/^speed / { print $2 }')
if [ "$speed" ]; then
echo "s${devnode##/dev/ttyS}:2345:respawn:/sbin/$GETTY $speed ${devnode##/dev/} vt100" >>$ROOTFS_DIR/etc/inittab
echo "Serial console support enabled for ${devnode##/dev/} at speed $speed" >&2
fi
done
init q
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 00-functions.sh | File | 1.1 KB | 0644 |
|
| 01-run-ldconfig.sh | File | 140 B | 0644 |
|
| 10-console-setup.sh | File | 2.21 KB | 0644 |
|
| 20-check-boot-options.sh | File | 930 B | 0644 |
|
| 40-start-udev-or-load-modules.sh | File | 3.45 KB | 0644 |
|
| 41-load-special-modules.sh | File | 1.32 KB | 0644 |
|
| 42-engage-scsi.sh | File | 254 B | 0644 |
|
| 45-serial-console.sh | File | 779 B | 0644 |
|
| 55-migrate-network-devices.sh | File | 14.33 KB | 0644 |
|
| 58-start-dhclient.sh | File | 1.82 KB | 0644 |
|
| 65-sysctl.sh | File | 149 B | 0644 |
|
| 99-makedev.sh | File | 401 B | 0644 |
|