From 2203e654b389586650d553251b04544a34f189bf Mon Sep 17 00:00:00 2001 From: Sn4il Date: Mon, 2 Sep 2024 15:54:35 +0300 Subject: LFS 12.2 --- lfs-12.1-sysv/scripts/apds20.html | 150 -------------------------------------- 1 file changed, 150 deletions(-) delete mode 100644 lfs-12.1-sysv/scripts/apds20.html (limited to 'lfs-12.1-sysv/scripts/apds20.html') diff --git a/lfs-12.1-sysv/scripts/apds20.html b/lfs-12.1-sysv/scripts/apds20.html deleted file mode 100644 index ff92ee7..0000000 --- a/lfs-12.1-sysv/scripts/apds20.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - D.20. /etc/rc.d/init.d/template - - - - - - - - -

- D.20. /etc/rc.d/init.d/template -

-
-
#!/bin/sh
-########################################################################
-# Begin scriptname
-#
-# Description :
-#
-# Authors     :
-#
-# Version     : LFS x.x
-#
-# Notes       :
-#
-########################################################################
-
-### BEGIN INIT INFO
-# Provides:            template
-# Required-Start:
-# Should-Start:
-# Required-Stop:
-# Should-Stop:
-# Default-Start:
-# Default-Stop:
-# Short-Description:
-# Description:
-# X-LFS-Provided-By:
-### END INIT INFO
-
-. /lib/lsb/init-functions
-
-case "${1}" in
-   start)
-      log_info_msg "Starting..."
-    # if it is possible to use start_daemon
-      start_daemon fully_qualified_path
-    # if it is not possible to use start_daemon
-    # (command to start the daemon is not simple enough)
-      if ! pidofproc daemon_name_as_reported_by_ps >/dev/null; then
-         command_to_start_the_service
-      fi
-      evaluate_retval
-      ;;
-
-   stop)
-      log_info_msg "Stopping..."
-    # if it is possible to use killproc
-      killproc fully_qualified_path
-    # if it is not possible to use killproc
-    # (the daemon shouldn't be stopped by killing it)
-      if pidofproc daemon_name_as_reported_by_ps >/dev/null; then
-         command_to_stop_the_service
-      fi
-      evaluate_retval
-      ;;
-
-   restart)
-      ${0} stop
-      sleep 1
-      ${0} start
-      ;;
-
-   *)
-      echo "Usage: ${0} {start|stop|restart}"
-      exit 1
-      ;;
-esac
-
-exit 0
-
-# End scriptname
-
-
- - - -- cgit v1.2.3