initial commit of file from CVS for e-smith-grub on Wed 12 Jul 08:55:23 BST 2023
This commit is contained in:
27
createlinks
Executable file
27
createlinks
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
|
||||
# templates to expand
|
||||
for my $event (qw(
|
||||
local
|
||||
post-install
|
||||
post-upgrade
|
||||
e-smith-grub-update
|
||||
))
|
||||
{
|
||||
event_templates ($event , "/etc/sysconfig/kernel");
|
||||
event_templates ($event , "/etc/default/grub");
|
||||
}
|
||||
|
||||
# actions to perform
|
||||
for my $event (qw(
|
||||
local
|
||||
post-install
|
||||
post-upgrade
|
||||
e-smith-grub-update
|
||||
))
|
||||
{
|
||||
event_actions ( $event , 'update-grub'=>'10');
|
||||
}
|
Reference in New Issue
Block a user