Below is the file 'packages/slugos-init/files/modulefunctions' from this revision. You can also download the file.