????

Your IP : 18.217.104.36


Current Path : /proc/self/root/usr/lib/dracut/modules.d/90dmsquash-live/
Upload File :
Current File : //proc/self/root/usr/lib/dracut/modules.d/90dmsquash-live/dmsquash-live-genrules.sh

#!/bin/sh

case "$root" in
  live:/dev/*)
    {
        printf 'KERNEL=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root %s"\n' \
            "${root#live:/dev/}" "${root#live:}"
        printf 'SYMLINK=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root %s"\n' \
            "${root#live:/dev/}" "${root#live:}"
    } >> /etc/udev/rules.d/99-live-squash.rules
    wait_for_dev -n "${root#live:}"
  ;;
  live:*)
    if [ -f "${root#live:}" ]; then
        /sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root "${root#live:}"
    fi
  ;;
esac