set name based on box type
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/genlink@2468 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
a7c1141415
commit
d268801878
@ -1,2 +1,2 @@
|
|||||||
# Set to the hostname of this machine
|
# Set to the hostname of this machine
|
||||||
hostname="goLSPro"
|
hostname="goLSProLive"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Set to the hostname of this machine
|
# Set to the hostname of this machine
|
||||||
hostname="goLSPro"
|
hostname="goLSXhl"
|
||||||
|
@ -1,37 +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
|
|
||||||
|
|
||||||
# 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
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user