메뉴 건너뛰기

Dev tips

> vi install_start_stop_daemon.sh

#!/bin/bash

cd /usr/local/src
wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
cd apps/sys-utils/start-stop-daemon-IR1_9_18-2
gcc start-stop-daemon.c -o start-stop-daemon
cp start-stop-daemon /usr/sbin/

> chmod +x install_start_stop_daemon.sh

> ./install_start_stop_daemon.sh

 

[출처] https://gist.github.com/yuuichi-fujioka/c4388cc672a3c8188423