┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/lib/dracut/modules.d/99memstrack
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: module-setup.sh
#!/usr/bin/bash check() { # If you need to use rd.memdebug>=4, please install all the required binary dependencies require_binaries \ pgrep \ pkill \ memstrack \ || return 1 return 0 } depends() { echo systemd return 0 } install() { inst_multiple pgrep pkill nohup inst "/bin/memstrack" "/bin/memstrack" inst "$moddir/memstrack-start.sh" "/bin/memstrack-start" inst_hook cleanup 99 "$moddir/memstrack-report.sh" inst "$moddir/memstrack.service" "$systemdsystemunitdir/memstrack.service" $SYSTEMCTL -q --root "$initdir" add-wants initrd.target memstrack.service }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 memstrack-report.sh
SH
308 B
2025-05-01 10:52
EDIT
📄 memstrack-start.sh
SH
1.8 KB
2025-05-01 10:52
EDIT
📄 memstrack.service
SERVICE
B
1970-01-01 00:00
EDIT
📄 module-setup.sh
SH
646 B
2025-05-01 10:52
EDIT