D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
lib
/
leapp
/
el8userspace
/
usr
/
lib
/
dracut
/
modules.d
/
99memstrack
/
Filename :
module-setup.sh
back
Copy
#!/usr/bin/bash check() { if find_binary memstrack >/dev/null; then dinfo "memstrack is available" return 0 fi dinfo "memstrack is not available" dinfo "If you need to use rd.memdebug>=4, please install memstrack" return 1 } depends() { return 0 } install() { 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 }
Name
Size
Last Modified
Owner
Permissions
Actions
memstrack-report.sh
0.447
KB
March 31 2023 7:20:39
root
0755
memstrack-start.sh
1.764
KB
March 31 2023 7:20:39
root
0755
memstrack.service
0.314
KB
March 31 2023 7:20:39
root
0644
module-setup.sh
0.609
KB
March 31 2023 7:20:40
root
0755
2017 © D7net | D704T team