summaryrefslogtreecommitdiffstats
path: root/initramfs/distro-specs/ubuntu/functions-default
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-02-16 01:10:16 +0100
committerDirk von Suchodoletz2008-02-16 01:10:16 +0100
commit9a366317c1e65bda6dc9b53bf860c0a630183055 (patch)
tree32b58d3a2b058742486e79b00547d5409acd4cc0 /initramfs/distro-specs/ubuntu/functions-default
parentbugfix: ugly but it works now, i hope ;) (diff)
downloadcore-9a366317c1e65bda6dc9b53bf860c0a630183055.tar.gz
core-9a366317c1e65bda6dc9b53bf860c0a630183055.tar.xz
core-9a366317c1e65bda6dc9b53bf860c0a630183055.zip
Remove udev rules for eth* device (and other) modification (not correct for
Debian yet, see #187). Fix for ubuntu syslog config writer (just creating empty config instead of using the installed one with missing files ...) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1549 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/ubuntu/functions-default')
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default8
1 files changed, 6 insertions, 2 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index 0bd396cb..a327e797 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -50,9 +50,13 @@ synapticsdrv=""
}
# distro specific function called from servconfig script
config_distro () {
-# add the halt link to the 0 and 6 runlevel directories
+ # add the halt link to the 0 and 6 runlevel directories
ln -sf ../init.d/halt /mnt/etc/rc0.d/S90halt
ln -sf ../init.d/reboot /mnt/etc/rc6.d/S90reboot
+
+ # remove annoying udev rule set for changing eth interface
+ rm /mnt/etc/udev/rules.d/*persistent-net.rules >/dev/null 2>&1
+
# set default runlevel
sed -e "s/.*initdefault/id:${D_INITDEFAULT}:initdefault/" -i /mnt/etc/inittab
}
@@ -125,7 +129,7 @@ if [ "x$start_syslog" != "xno" ] ; then
# fixme, welcher Syslog wird verwendet?
#if syslog
testmkd /mnt/var/log/news
- echo -e "# /etc/syslog.conf - file generated by $0" >/mnt/etc/syslogd.conf
+ echo -e "# /etc/syslog.conf - file generated by $0" >/mnt/etc/syslog.conf
# test -n "$log_servers" && \
# for logserver in $log_servers; do
# echo -e "*.*;*.*;*.*;*kern.!*\t@$logserver" >>/mnt/etc/syslog.conf