Skip to content

Commit c1d9011

Browse files
committed
fixed custom_init file pathname
Signed-off-by: Zen <[email protected]>
1 parent d5ed3f8 commit c1d9011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ugrd/initramfs_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
__author__ = "desultory"
3-
__version__ = "0.9.1"
3+
__version__ = "0.9.3"
44

55
from tomllib import load
66
from typing import Union
@@ -231,7 +231,7 @@ def generate_init(self) -> None:
231231
custom_init.insert(2, "source /init_funcs.sh")
232232

233233
if custom_init:
234-
self._write('_custom_init_file', custom_init, 0o755)
234+
self._write(self.config_dict['_custom_init_file'], custom_init, 0o755)
235235
init += custom_init
236236

237237
self._write('init', init, 0o755)

0 commit comments

Comments
 (0)