summaryrefslogtreecommitdiffstats
path: root/encap/src
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src')
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dv1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvn1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvq1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvqn1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-restart1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-v1
l---------encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-vq1
-rwxr-xr-xencap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh18
8 files changed, 16 insertions, 9 deletions
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dv b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dv
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dv
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvn b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvn
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvn
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvq b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvq
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvq
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvqn b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvqn
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-dvqn
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-restart b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-restart
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-restart
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-v b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-v
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-v
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-vq b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-vq
new file mode 120000
index 000000000..2296c9078
--- /dev/null
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2-vq
@@ -0,0 +1 @@
+ost-bcfg2.sh \ No newline at end of file
diff --git a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
index 4f5ccfca2..6a4230159 100755
--- a/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
+++ b/encap/src/bcfg2-site/bcfg2-site-RENAME/sbin/ost-bcfg2.sh
@@ -15,15 +15,15 @@ LOGDIR="/usr/local/var/svlogd/bcfg2-client-ostiary"
test -d $LOGDIR || mkdir $LOGDIR
LOG="svlogd -tt $LOGDIR"
-case $1 in
- dvqn) bcfg2 -d -v -q -n | $LOG ;;
- dvn) bcfg2 -d -v -n | $LOG ;;
- dvq) bcfg2 -d -v -q | $LOG ;;
- dv) bcfg2 -d -v | $LOG ;;
- vq) bcfg2 -v -q | $LOG ;;
- v) bcfg2 -v | $LOG ;;
- restart) sv restart bcfg2-client | $LOG ;;
- *) printf "ERROR in $0\n" | $LOG ;;
+case $0 in
+ *-dvqn) bcfg2 -d -v -q -n | $LOG ;;
+ *-dvn) bcfg2 -d -v -n | $LOG ;;
+ *-dvq) bcfg2 -d -v -q | $LOG ;;
+ *-dv) bcfg2 -d -v | $LOG ;;
+ *-vq) bcfg2 -v -q | $LOG ;;
+ *-v) bcfg2 -v | $LOG ;;
+ *-restart) sv restart bcfg2-client | $LOG ;;
+ *) printf "ERROR in $0\n" | $LOG ;;
esac
exit 0