diff options
Diffstat (limited to 'main/mkinitfs/mkinitfs.trigger')
-rw-r--r-- | main/mkinitfs/mkinitfs.trigger | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/mkinitfs/mkinitfs.trigger b/main/mkinitfs/mkinitfs.trigger new file mode 100644 index 000000000..be15f52f0 --- /dev/null +++ b/main/mkinitfs/mkinitfs.trigger @@ -0,0 +1,8 @@ +#!/bin/sh + +for i in "$@"; do + # get last element in path + kver=${i##*/} + mkinitfs $kver +done + |