18 lines
245 B
Bash
Executable File
18 lines
245 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /etc/init.d/init-functions
|
|
|
|
case "$1" in
|
|
start)
|
|
notify "Setting up sysctl "
|
|
sysctl -p &> /dev/null
|
|
check $?
|
|
;;
|
|
stop)
|
|
;;
|
|
*)
|
|
echo "Sysctl init script usage: $0 {start}"
|
|
return 1
|
|
esac
|
|
return $?
|