3 Star 0 Fork 3

mirrors_martinezjavier/ldd3

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
init 460 Bytes
Copy Edit Raw Blame History
Siddhant Jajoo authored 2019-10-12 11:53 +08:00 . Added init script
#! /bin/sh
case "$1" in
start)
echo "Starting init script for Module Loading"
start-stop-daemon -S -n init -a /bin/scull_load
start-stop-daemon -S -n init -a /bin/module_load -- hello
;;
stop)
echo "Removing user modules"
start-stop-daemon -K -n scull_load
start-stop-daemon -K -n module_load
start-stop-daemon -S -n init -a /bin/scull_unload
start-stop-daemon -S -n init -a /bin/module_unload -- hello
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_martinezjavier/ldd3.git
git@gitee.com:mirrors_martinezjavier/ldd3.git
mirrors_martinezjavier
ldd3
ldd3
master

Search