From: Kern Sibbald Date: Sat, 5 Feb 2011 12:18:53 +0000 (+0100) Subject: Remove old scripts no longer used X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bf99fe3932e1fc5e9a84fdae5296aad1ca87007;p=bacula%2Fbacula Remove old scripts no longer used --- diff --git a/bacula/autoconf/configure.in b/bacula/autoconf/configure.in index 1fd9a90117..3deee535ee 100644 --- a/bacula/autoconf/configure.in +++ b/bacula/autoconf/configure.in @@ -3238,13 +3238,8 @@ fi AC_OUTPUT([autoconf/Make.common \ Makefile \ manpages/Makefile \ - scripts/startmysql \ - scripts/stopmysql \ scripts/btraceback \ - scripts/startit \ - scripts/stopit \ scripts/bconsole \ - scripts/gconsole \ scripts/bacula \ scripts/bacula-ctl-dir \ scripts/bacula-ctl-fd \ @@ -3380,9 +3375,9 @@ chmod 755 install_conf_file build-depkgs-qt-console cd ${BUILD_DIR} cd scripts -chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer +chmod 755 bacula btraceback mtx-changer chmod 755 dvd-handler dvd-simulator -chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate +chmod 755 bconsole mtx-changer devel_bacula logrotate cd .. c=updatedb diff --git a/bacula/scripts/Makefile.in b/bacula/scripts/Makefile.in index 3295014881..5dee735fda 100755 --- a/bacula/scripts/Makefile.in +++ b/bacula/scripts/Makefile.in @@ -1,5 +1,4 @@ # -# Version $Id$ # @MCOMMON@ @@ -33,8 +32,6 @@ installdirs: $(MKDIR) $(DESTDIR)$(mandir) install: installdirs - $(INSTALL_SCRIPT) startmysql $(DESTDIR)$(scriptdir)/startmysql - $(INSTALL_SCRIPT) stopmysql $(DESTDIR)$(scriptdir)/stopmysql $(INSTALL_SCRIPT) bconsole $(DESTDIR)$(scriptdir)/bconsole $(INSTALL_SCRIPT) bacula $(DESTDIR)$(scriptdir)/bacula $(INSTALL_SCRIPT) bacula_config $(DESTDIR)$(scriptdir)/bacula_config @@ -73,8 +70,6 @@ install: installdirs uninstall: - (cd $(DESTDIR)$(scriptdir); $(RMF) startmysql) - (cd $(DESTDIR)$(scriptdir); $(RMF) stopmysql) (cd $(DESTDIR)$(scriptdir); $(RMF) bconsole) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula) (cd $(DESTDIR)$(scriptdir); $(RMF) bacula_config) @@ -94,24 +89,24 @@ uninstall: Makefile: Makefile.in cd $(topdir) \ && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - chmod 755 startmysql stopmysql bacula startit stopit btraceback + chmod 755 bacula btraceback chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config - chmod 755 disk-changer mtx-changer dvd-handler bconsole gconsole + chmod 755 disk-changer mtx-changer dvd-handler bconsole Makefiles: $(SHELL) config.status - chmod 755 startmysql stopmysql bacula startit stopit btraceback + chmod 755 bacula btraceback chmod 755 bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd - chmod 755 mtx-changer dvd-handler bconsole gconsole + chmod 755 mtx-changer dvd-handler bconsole clean: @$(RMF) *~ 1 2 3 # clean for distribution distclean: clean - @$(RMF) startmysql stopmysql bacula fd startit stopit btraceback + @$(RMF) bacula fd btraceback @$(RMF) bacula-ctl-dir bacula-ctl-fd bacula-ctl-sd bacula_config - @$(RMF) bconsole gconsole logrotate bacula.desktop + @$(RMF) bconsole logrotate bacula.desktop @$(RMF) bacula.desktop.gnome1 bacula.desktop.gnome2 mtx-changer dvd-handler @$(RMF) gnome-console.console_apps bacula.desktop.gnome2.xsu @$(RMF) bgnome-console.console_apps diff --git a/bacula/scripts/gconsole.in b/bacula/scripts/gconsole.in deleted file mode 100755 index a8db17cab8..0000000000 --- a/bacula/scripts/gconsole.in +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -# -# Run bgnome-console with test config file -# -if [ $# = 1 ] ; then - echo "doing bgnome-console $1.conf" - @sbindir@/bgnome-console -c $1.conf -else - @sbindir@/bgnome-console -c @sysconfdir@/bgnome-console.conf -fi diff --git a/bacula/scripts/startit.in b/bacula/scripts/startit.in deleted file mode 100755 index da7ce84589..0000000000 --- a/bacula/scripts/startit.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@BUILD_DIR@/scripts/devel_bacula start $1 diff --git a/bacula/scripts/startmysql.in b/bacula/scripts/startmysql.in deleted file mode 100755 index dc35bd786c..0000000000 --- a/bacula/scripts/startmysql.in +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -cd @SQL_BINDIR@ -if [ -x ./safe_mysqld ]; then - ./safe_mysqld $* & - exit $? -fi -if [ -x ./mysqld_safe ]; then - ./mysqld_safe $* & - exit $? -fi -echo "Neither safe_mysqld nor mysqld_safe found!" -exit 1 diff --git a/bacula/scripts/stopit.in b/bacula/scripts/stopit.in deleted file mode 100755 index 80503eede4..0000000000 --- a/bacula/scripts/stopit.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@BUILD_DIR@/scripts/bacula stop diff --git a/bacula/scripts/stopmysql.in b/bacula/scripts/stopmysql.in deleted file mode 100755 index 9bf117be33..0000000000 --- a/bacula/scripts/stopmysql.in +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -@SQL_BINDIR@/mysqladmin shutdown