summaryrefslogtreecommitdiffstats
path: root/files/90mgalive/mgalive-genrules.sh
diff options
context:
space:
mode:
Diffstat (limited to 'files/90mgalive/mgalive-genrules.sh')
-rwxr-xr-xfiles/90mgalive/mgalive-genrules.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/files/90mgalive/mgalive-genrules.sh b/files/90mgalive/mgalive-genrules.sh
deleted file mode 100755
index f450ebf..0000000
--- a/files/90mgalive/mgalive-genrules.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-case "$root" in
- mgalive:/dev/*)
- {
- printf 'KERNEL=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/mgalive-root $env{DEVNAME}"\n' \
- ${root#mgalive:/dev/}
- printf 'SYMLINK=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/mgalive-root $env{DEVNAME}"\n' \
- ${root#mgalive:/dev/}
- } >> /etc/udev/rules.d/99-mgalive.rules
- wait_for_dev "${root#mgalive:}"
- ;;
- mgalive:*)
- if [ -f "${root#mgalive:}" ]; then
- /sbin/initqueue --settled --onetime --unique /sbin/mgalive-root "${root#mgalive:}"
- fi
- ;;
-esac