no need for the local start mod

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2627 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-10-30 12:46:00 +00:00
parent f418dc884b
commit 8051b114fe
2 changed files with 1 additions and 41 deletions

View File

@ -1,40 +0,0 @@
# Here is where you can put anything you need to start
# that there is not an init script for.
local_start() {
# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)
# want some kernel debugging over serial console (BREAK)?
echo 1 > /proc/sys/kernel/sysrq
echo 9 > /proc/sys/kernel/printk
# signalize we're up & running
/usr/sbin/microapl -a bz_imhere 120 am4 d4 f4 am4 d4 f4 dm4 dm4 f4 a4 am4 &>/dev/null
# Update the filesystem okay flag and delete boot mode trace files
# on /boot to prevent the boot failure counter reach 3 when we
# in fact booted Gentoo ok
date > /boot/rootfs_ok
rm -f /boot/rootfs_booting
rm -f /boot/initrdmode
rm -f /boot/boot.log
touch /boot/hddrootmode
# avoid udev renaming 'eth0' bug by deleting this file:
rm -f /etc/udev/rules.d/70-persistent-net.rules
# We should always return 0
return 0
}
local_stop() {
# This is a good place to unload any misc.
# programs you started above.
# avoid udev renaming 'eth0' bug by deleting this file:
rm -f /etc/udev/rules.d/70-persistent-net.rules
# We should always return 0
return 0
}

View File

@ -15,7 +15,7 @@
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto,noatime 1 2
/dev/sda2 / reiser4 noatime 0 1
/dev/sda2 / ext4 noatime 0 1
/dev/sda3 none swap sw 0 0
# /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
# /dev/fd0 /mnt/floppy auto noauto 0 0