M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
#!/bin/sh
# LSB initscript functions, as defined in the LSB Spec 1.1.0
#
# Lawrence Lim <llim@core.com> - Tue, 26 June 2007
# Updated to the latest LSB 3.1 spec
# http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic_lines.txt
start_daemon () {
/etc/core-lsb/lsb_start_daemon "$@"
}
killproc () {
/etc/core-lsb/lsb_killproc "$@"
}
pidofproc () {
/etc/core-lsb/lsb_pidofproc "$@"
}
log_success_msg () {
/etc/core-lsb/lsb_log_message success "$@"
}
log_failure_msg () {
/etc/core-lsb/lsb_log_message failure "$@"
}
log_warning_msg () {
/etc/core-lsb/lsb_log_message warning "$@"
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
. /etc/init.d/functions
LSB=LSB-1.1 killproc $*
exit $?

View File

@@ -0,0 +1,27 @@
#!/bin/bash
. /etc/init.d/functions
ACTION=$1
shift
case "$ACTION" in
success)
echo -n $*
success "$*"
echo
;;
failure)
echo -n $*
failure "$*"
echo
;;
warning)
echo -n $*
warning "$*"
echo
;;
*)
;;
esac
exit 0

View File

@@ -0,0 +1,6 @@
#!/bin/bash
. /etc/init.d/functions
pidofproc $*
exit $?

View File

@@ -0,0 +1,45 @@
#!/bin/bash
. /etc/init.d/functions
nice=
force=
pidfile=
user=
check=
RETVAL=
while [ "$1" != "${1##[-+]}" ]; do
case $1 in
-f)
force="--force"
shift
;;
-n)
nice=$2
shift 2
;;
-p)
pidfile="--pidfile $2"
shift 2
;;
-u)
user="--user $2"
shift 2
;;
-c)
check="--check $2"
shift 2
;;
*)
echo "Unknown Option $1"
echo "Options are:"
echo "-f"
echo "-p {pidfile}"
echo "-n [+/-nicelevel]"
echo "-u {user}"
echo "-c {base}"
exit 1;;
esac
done
LSB=LSB-1.1 daemon ${force:-} ${nice:-} ${pidfile:-} ${user:-} ${check:-} $*
exit $?