Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/bin/sh # Id echo stoping slapd # kill of old slapd if [ -f slapd.pid ]; then kill `cat slapd.pid` sleep 5 fi if [ -f slapd.pid ]; then kill -9 `cat slapd.pid` rm -f slapd.pid sleep 5 fi exit 0