dmsquash-liveiso-genrules.sh 289 B

123456789
  1. #!/bin/sh
  2. if [ "${root%%:*}" = "liveiso" ]; then
  3. {
  4. printf 'KERNEL=="loop-control", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root `/sbin/losetup -f --show %s`"\n' \
  5. ${root#liveiso:}
  6. } >> /etc/udev/rules.d/99-liveiso-mount.rules
  7. fi