[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-backup/usr/share/se3/scripts/ -> udev_disk_rule.sh (source)

   1  #!/bin/bash
   2  
   3  #
   4  # $Id: udev_disk_rule.sh 5661 2010-06-24 00:20:02Z keyser $
   5  #
   6  
   7  echo "ACTION==\"add\", KERNEL==\"sd*\", RUN+=\"/usr/share/se3/sbin/mountdisk.sh /dev/disk/by-id/$1-part1\"" >/etc/udev/rules.d/10-se3.rules
   8  echo "ACTION==\"remove\", KERNEL==\"sd*\", RUN+=\"/usr/share/se3/sbin/umountdisk.sh /dev/disk/by-id/$1-part1\"" >>/etc/udev/rules.d/10-se3.rules
   9  /etc/init.d/udev reload >/dev/null


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1