source: lliurex-up/trunk/fuentes/lliurex-up-core/usr/share/lliurex-up/commonScripts/alternative-update-initramfs @ 3018

Last change on this file since 3018 was 3018, checked in by kbut, 4 years ago

prepare scripts to lliurex-up

  • Property svn:executable set to *
File size: 236 bytes
Line 
1#!/bin/bash
2ACTION="$1"
3case "$ACTION" in
4        preActions)
5                DEST=$(which update-initramfs)
6                mount --bind /usr/lib/lliurex-up/update-initramfs-alternative $DEST
7        ;;
8        postActions)
9                DEST=$(which update-initramfs)
10                umount "$DEST"
11        ;;
12esac
Note: See TracBrowser for help on using the repository browser.