REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.18 KB
Close
/proc/self/root/proc/self/root/usr/lib/dracut/modules.d/35network-manager/nm-run.sh
Text
Base64
#!/bin/sh for i in /usr/lib/NetworkManager/system-connections/* \ /run/NetworkManager/system-connections/* \ /etc/NetworkManager/system-connections/* \ /etc/sysconfig/network-scripts/ifcfg-*; do [ -f "$i" ] || continue if getargbool 0 rd.debug -d -y rdinitdebug -d -y rdnetdebug; then /usr/sbin/NetworkManager --configure-and-quit=initrd --debug --log-level=trace else /usr/sbin/NetworkManager --configure-and-quit=initrd --no-daemon fi if [ -s /run/NetworkManager/initrd/hostname ]; then cat /run/NetworkManager/initrd/hostname > /proc/sys/kernel/hostname fi break done for _i in /sys/class/net/* do state=/run/NetworkManager/devices/$(cat $_i/ifindex) grep -q connection-uuid= $state 2>/dev/null || continue ifname=${_i##*/} while IFS='=' read -r key val; do case "$key" in root-path) printf 'new_root_path=%q\n' "$val" ;; next-server) printf 'new_next_server=%q\n' "$val" ;; dhcp-bootfile) printf 'filename=%q\n' "$val" ;; esac done < "$state" > /tmp/dhclient."$ifname".dhcpopts source_hook initqueue/online $ifname /sbin/netroot $ifname done > /tmp/nm.done
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
module-setup.sh
1.55 KB
lrwxr-xr-x
2026-06-18 09:20:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nm-config.sh
212 B
lrwxr-xr-x
2026-06-18 09:20:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nm-lib.sh
635 B
lrw-r--r--
2026-06-18 09:20:55
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
nm-run.sh
1.18 KB
lrwxr-xr-x
2026-06-18 09:20:58
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).