diff options
author | Tobias Powalowski <tpowa@archlinux.org> | 2006-09-20 10:36:16 +0000 |
---|---|---|
committer | Tobias Powalowski <tpowa@archlinux.org> | 2006-09-20 10:36:16 +0000 |
commit | 2f49e1bb285fc9ad7259caf5edb957d7c891c974 (patch) | |
tree | 1d2f271ee9f06f75d0c0f0eb489972288e0b4297 | |
parent | 8d399cf84d6d6192a13286e33258aaa369eee1bb (diff) |
'upgpkg: added udev persistent rules check'
-rwxr-xr-x | rc.sysinit | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -259,7 +259,17 @@ if [ "$CONSOLEFONT" != "" ]; then echo 'if [ "$TERM" = "linux" -a isatty ]; then echo -ne "\e(K"; fi' >>/etc/profile.d/locale.sh stat_done fi - +# Adding persistent network/cdrom generated rules +if [ -f "/dev/.udev/tmp-rules--70-persistent-cd.rules" ]; then + stat_busy "Adding persistent cdrom udev rules" + /bin/cat /dev/.udev/tmp-rules--70-persistent-cd.rules >> /etc/udev/rules.d/70-persistent-cd.rules + stat_done +fi +if [ -f "/dev/.udev/tmp-rules--70-persistent-net.rules" ]; then + stat_busy "Adding persistent network udev rules" + /bin/cat /dev/.udev/tmp-rules--70-persistent-net.rules >> /etc/udev/rules.d/70-persistent-net.rules + stat_done +fi # Screen blanks after 15 minutes idle time /usr/bin/setterm -blank 15 |