]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/interfaces/ifcfg-description
- removed "scripts" method of executing external programs after uping
[projects/rc-scripts.git] / sysconfig / interfaces / ifcfg-description
index 39bc964f080583ab8f61de7d184eba71d69ea385..37529642cfb9cbbfc7a18e3c28109f185c02ff3b 100644 (file)
@@ -1,4 +1,4 @@
-#      $Id: ifcfg-description,v 1.2 1999/09/13 13:26:43 misiek Exp $
+#      $Id: ifcfg-description,v 1.3 2000/03/27 16:07:51 misiek Exp $
 PROTOCOL={ip|ipx} (default ip)
 
 if     PROTOCOL=ip; then
@@ -61,3 +61,15 @@ elif DEVICE=ppp* || DEVICE=slip* ; then
        fi
 fi
 
+# You can also run some other programs *after* uping od downing
+# device. Just create functions run_up() and run_down()
+run_up()
+{
+       echo "This will be executed after uping device !"
+}
+
+run_down()
+{
+       echo "This will be executed after downing device !"
+}
+
This page took 0.083281 seconds and 4 git commands to generate.