Skip to content

Commit 2de6ce1

Browse files
committed
don't add the banner line to the custom init from the generator
Signed-off-by: Zen <[email protected]>
1 parent 8203968 commit 2de6ce1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ugrd/initramfs_generator.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,6 @@ def generate_init(self) -> None:
192192
if self.included_functions: # There should always be included functions, if the base config is used
193193
self._write('/etc/profile', self.generate_profile(), 0o755)
194194
self.logger.info("Included functions: %s" % ', '.join(list(self.included_functions.keys())))
195-
if self['imports'].get('custom_init'):
196-
custom_init.insert(2, self.banner)
197195

198196
if self.get('_custom_init_file'): # Write the custom init file if it exists
199197
self._write(self['_custom_init_file'], custom_init, 0o755)

0 commit comments

Comments
 (0)