
3 changed files with 12 additions and 0 deletions
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh |
||||
[ -f /etc/redhat-release ] |
||||
|
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
|
||||
dracut_rpm_version=$(rpm -q --qf '%{name}-%{version}-%{release}' $(which $0)) |
||||
if [ $? -eq 0 ]; then |
||||
echo $dracut_rpm_version > $initdir/$dracut_rpm_version |
||||
fi |
||||
|
||||
inst_hook cmdline 01 "$moddir/version.sh" |
||||
|
Loading…
Reference in new issue