~ubuntu-branches/ubuntu/maverick/nslu2-utils/maverick

« back to all changes in this revision

Viewing changes to debian/nslu2-rtc.init

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2009-10-29 09:49:53 UTC
  • Revision ID: james.westby@ubuntu.com-20091029094953-1f2u1uv5wt0j1v2g
Tags: 20080403-4
* ACK NMU. Closes: #545204
* Fix name of start script called by stop scripts (broken by NMU).
  Closes: #547672
* Drop the nslu2-rtc init script, since rtc_dev has been built into
  the kernel since before the release of stable. Closes: #509719
* Fix preinst to be set -e.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
### BEGIN INIT INFO
3
 
# Provides:          nslu2-rtc
4
 
# Required-Start:
5
 
# Required-Stop:
6
 
# Should-Start:      udev
7
 
# X-Start-Before:    hwclock
8
 
# Default-Start:     S
9
 
# Default-Stop:
10
 
# Short-Description: Load kernel module for the RTC device interface.
11
 
# Description:       Load kernel module for the RTC device interface.
12
 
### END INIT INFO
13
 
 
14
 
case "$1" in
15
 
    start)
16
 
        modprobe rtc-dev
17
 
        ;;
18
 
    stop|restart|force-reload|*)
19
 
        ;;
20
 
esac