source: bootscripts-standard/cblfs/init.d/lisa@ f92053b

Last change on this file since f92053b was 7df280d, checked in by Joe Ciccone <jciccone@…>, 17 years ago

Change /bin/sh to /bin/bash in the bootscripts because the bootscripts use bashisms. Having ash linked to sh will cause errors. Thanks to Bigdassaved for providing the diff and Copper for bring up the issue.

  • Property mode set to 100644
File size: 1.0 KB
RevLine 
[7df280d]1#!/bin/bash
[7125722]2# Begin $rc_base/init.d/lisa
3
4# Based on sysklogd script from LFS-3.1 and earlier.
5# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
6
7#$LastChangedBy: bdubbs $
8#$Date: 2005-08-01 14:29:19 -0500 (Mon, 01 Aug 2005) $
9
10. /etc/sysconfig/rc
11. $rc_functions
12
13export PATH=$PATH:/opt/kde/bin
14
15case "$1" in
16 start)
17 boot_mesg "Starting LISA Daemon..."
18 loadproc /opt/kde/bin/lisa
19 ;;
20
21 stop)
22 boot_mesg "Stopping LISA Daemon..."
23 killproc /opt/kde/bin/lisa
24 ;;
25
26 reload)
27 boot_mesg "Reloading LISA Daemon..."
28 reloadproc /opt/kde/bin/lisa
29 ;;
30
31 restart)
32 $0 stop
33 sleep 1
34 $0 start
35 ;;
36
37 status)
38 statusproc /opt/kde/bin/lisa
39 ;;
40
41 *)
42 echo "Usage: $0 {start|stop|reload|restart|status}"
43 exit 1
44 ;;
45esac
46
47# End $rc_base/init.d/lisa
Note: See TracBrowser for help on using the repository browser.