Forked from yuuichi-fujioka/install_start_stop_daemon.sh
Created
August 27, 2018 02:26
-
-
Save wangwenchao/f2d762c104731a769a1d4d4dde30b229 to your computer and use it in GitHub Desktop.
install start-stop-daemon to centos, fedora, redhat.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment