Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
   295         kx #!/bin/sh
   295         kx #
   295         kx # Start/stop/restart ulogd:
   295         kx #
   295         kx 
   295         kx ulogd_start() {
   295         kx   if [ -x /usr/sbin/ulogd ]; then
   295         kx     echo "Starting ulogd daemon:  /usr/sbin/ulogd "
   295         kx     /usr/sbin/ulogd -d 2> /dev/null
   295         kx   fi
   295         kx }
   295         kx 
   295         kx ulogd_stop() {
   295         kx   killall ulogd 2> /dev/null
   295         kx }
   295         kx 
   295         kx ulogd_restart() {
   295         kx   ulogd_stop
   295         kx   sleep 1
   295         kx   ulogd_start
   295         kx }
   295         kx 
   295         kx case "$1" in
   295         kx 'start')
   295         kx  ulogd_start
   295         kx   ;;
   295         kx 'stop')
   295         kx   ulogd_stop
   295         kx   ;;
   295         kx 'restart')
   295         kx  ulogd_restart
   295         kx   ;;
   295         kx *)
   295         kx   echo "usage $0 start|stop|restart"
   295         kx esac