summaryrefslogtreecommitdiff
path: root/etc/network
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-08-29 21:04:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-08-29 21:04:27 +0200
commit58d83b28f64517a84845b6c2ef6cd6f1662f22cc (patch)
treeed048be3848e37b930c361d7c65656fa5f20ced3 /etc/network
parentd870875280a01d539e465c47bec6c51021cfe5bf (diff)
downloaditzks-systems-58d83b28f64517a84845b6c2ef6cd6f1662f22cc.tar.gz
itzks-systems-58d83b28f64517a84845b6c2ef6cd6f1662f22cc.tar.bz2
itzks-systems-58d83b28f64517a84845b6c2ef6cd6f1662f22cc.zip
etc/network/if-up.d/{autofs,cups}: Rename to itzks-autofs, itzks-cups to avoid future name conflicts. Test for scripts of the names autofs resp. cups and debian-edu and if they exist, exit gracefully.
Diffstat (limited to 'etc/network')
-rwxr-xr-xetc/network/if-up.d/autofs4
-rwxr-xr-xetc/network/if-up.d/cups4
-rwxr-xr-xetc/network/if-up.d/itzks-autofs7
-rwxr-xr-xetc/network/if-up.d/itzks-cups7
4 files changed, 14 insertions, 8 deletions
diff --git a/etc/network/if-up.d/autofs b/etc/network/if-up.d/autofs
deleted file mode 100755
index 1e0a705..0000000
--- a/etc/network/if-up.d/autofs
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-invoke-rc.d --quiet autofs restart
-
diff --git a/etc/network/if-up.d/cups b/etc/network/if-up.d/cups
deleted file mode 100755
index f7e41e7..0000000
--- a/etc/network/if-up.d/cups
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-invoke-rc.d --quiet cups restart
-
diff --git a/etc/network/if-up.d/itzks-autofs b/etc/network/if-up.d/itzks-autofs
new file mode 100755
index 0000000..974a1c6
--- /dev/null
+++ b/etc/network/if-up.d/itzks-autofs
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if test -e /etc/network/if-up.d/autofs; then exit 0; fi
+if test -e /etc/network/if-up.d/debian-edu; then exit 0; fi
+
+invoke-rc.d --quiet autofs restart
+
diff --git a/etc/network/if-up.d/itzks-cups b/etc/network/if-up.d/itzks-cups
new file mode 100755
index 0000000..229e9ab
--- /dev/null
+++ b/etc/network/if-up.d/itzks-cups
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if test -e /etc/network/if-up.d/cups; then exit 0; fi
+if test -e /etc/network/if-up.d/debian-edu; then exit 0; fi
+
+invoke-rc.d --quiet cups restart
+