1
0
mirror of synced 2026-01-30 21:16:31 +00:00

2006-06-05 15:13:48 by steve

Added to repository.
This commit is contained in:
steve
2006-06-05 15:13:48 +00:00
parent 3c55e93eb2
commit 0781c6bfef

41
etc/hook.d/15-disable-hwclock Executable file
View File

@@ -0,0 +1,41 @@
#!/bin/sh
#
# This script disables the hardware clock.
#
# Steve
# --
# http://www.steve.org.uk/
prefix=$1
dist=$2
#
# Disable the startup scripts from all runlevels.
#
function setupDebian
{
chmod -x ${prefix}/etc/init.d/hwclock.sh
chmod -x ${prefix}/etc/init.d/hwclockfirst.sh
}
#
# Entry point to the script.
#
case "${dist}" in
sarge|etch|sid)
setupDebian
;;
*)
echo "Unknown distribution '${dist}'. Fixme";
exit;
;;
esac