[dahdi-commits] tzafrir: branch tools/tzafrir/sysfs r8704 - /tools/team/tzafrir/sysfs/xpp/

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu May 27 08:46:44 CDT 2010


Author: tzafrir
Date: Thu May 27 08:46:43 2010
New Revision: 8704

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8704
Log:
Create/remove span symlinks on UDEV add/remove

* We don't need the channels to be ready (online)
* Run dahdi_cfg on UDEV online

Modified:
    tools/team/tzafrir/sysfs/xpp/symlink_span

Modified: tools/team/tzafrir/sysfs/xpp/symlink_span
URL: http://svnview.digium.com/svn/dahdi/tools/team/tzafrir/sysfs/xpp/symlink_span?view=diff&rev=8704&r1=8703&r2=8704
==============================================================================
--- tools/team/tzafrir/sysfs/xpp/symlink_span (original)
+++ tools/team/tzafrir/sysfs/xpp/symlink_span Thu May 27 08:46:43 2010
@@ -122,13 +122,13 @@
 }
 
 case "$ACTION" in
-online)
-	(
-		create_links
-		dahdi_cfg -c "$dahdiconfdir/system.conf" -S "$SPAN_NUM" -k
-	) 2>&1 | $LOGGER
+add)
+	create_links 2>&1 | $LOGGER
 	;;
-offline)
+remove)
 	remove_links 2>&1 | $LOGGER
 	;;
+online)
+	dahdi_cfg -c "$dahdiconfdir/system.conf" -S "$SPAN_NUM" -k
+	;;
 esac




More information about the dahdi-commits mailing list