summaryrefslogtreecommitdiff
path: root/etc/network/if-up.d/itzks-cups
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/if-up.d/itzks-cups
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/if-up.d/itzks-cups')
-rwxr-xr-xetc/network/if-up.d/itzks-cups7
1 files changed, 7 insertions, 0 deletions
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
+