source: n4d-pamnss/trunk/fuentes/debian/n4d-clean-ldap-conf.init @ 192

Last change on this file since 192 was 192, checked in by hectorgh, 4 years ago

adding project files

  • Property svn:executable set to *
File size: 657 bytes
Line 
1#! /bin/sh
2### BEGIN INIT INFO
3# Provides:          n4d-clean-ldap-conf
4# Required-Start: $remote_fs
5# Required-Stop:  $remote_fs
6# Default-Start:     2 3 4 5
7# Default-Stop:      0 6
8# Short-Description: Execute the reboot command.
9# Description:
10### END INIT INFO
11
12PATH=/sbin:/usr/sbin:/bin:/usr/bin
13
14. /lib/lsb/init-functions
15
16case "$1" in
17  start | stop)
18 
19        # Keeping old code
20 
21        #rm -rf /etc/ldap.conf || true
22        #rm -rf /etc/ldap/ldap.conf || true
23        #cp /usr/share/base-files/nsswitch.conf /etc/nsswitch.conf || true
24        ;;
25  restart|reload|force-reload)
26        #
27        ;;
28  *)
29        echo "Usage: $0 start" >&2
30        exit 3
31        ;;
32esac
Note: See TracBrowser for help on using the repository browser.