diff options
| author | Dirk von Suchodoletz | 2006-03-31 00:19:08 +0200 |
|---|---|---|
| committer | Dirk von Suchodoletz | 2006-03-31 00:19:08 +0200 |
| commit | 54af05f4c6dbddd150b02004dd7ce83386a80f9c (patch) | |
| tree | 0da72e485a85c0f26fc80694c4f542aac575c7c4 /initrd/distro-specs/ubuntu | |
| parent | fixed halt ... (diff) | |
| download | core-54af05f4c6dbddd150b02004dd7ce83386a80f9c.tar.gz core-54af05f4c6dbddd150b02004dd7ce83386a80f9c.tar.xz core-54af05f4c6dbddd150b02004dd7ce83386a80f9c.zip | |
halt, reboot in runlevel 0 and 6 ...
git-svn-id: http://svn.openslx.org/svn/openslx/ld4@135 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initrd/distro-specs/ubuntu')
| -rw-r--r-- | initrd/distro-specs/ubuntu/functions-5.10 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/initrd/distro-specs/ubuntu/functions-5.10 b/initrd/distro-specs/ubuntu/functions-5.10 index d4038840..0966d41b 100644 --- a/initrd/distro-specs/ubuntu/functions-5.10 +++ b/initrd/distro-specs/ubuntu/functions-5.10 @@ -2,23 +2,23 @@ # linux diskless clients (executed within initial # ramdisk after genconfig) # -# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 24-03-2006 +# Author(s): Dirk von Suchodoletz <dirk@goe.net>, 31-03-2006 # Nico Dietrich # Felix Endres # # Copyright: (c) 2006 - RZ Universitaet Freiburg # -# Version: 0.2.1c +# Version: 0.2.1d # distro specific stuff to initialize preinit () { echo "Creating dhcp user" echo "dhcp:x:101:">>/etc/group - echo "dhcp:x:101:101::/nonexistent:/bin/false">>/etc/passwd + echo "dhcp:x:101:101::/nonexistent:/bin/false" >>/etc/passwd # load unix module to provide sockets - modprobe ${MODPRV} unix || error " Failed to load the \"unix\" module. \ - Problems with Hardware detection will probably arise" + modprobe ${MODPRV} unix || error " Failed to load the \"unix\" module. \ + Problems with Hardware detection\nwill probably arise" } postinit () { @@ -27,7 +27,10 @@ postinit () { # distro specific function called from servconfig script config_distro () { -# fixme!! add halt runlevel links here!! +# add the halt link to the 0 and 6 runlevel directories +# fixmee!! check ... +# ln -sf ../halt /mnt/etc/rc0.d/S90halt +# ln -sf ../halt /mnt/etc/rc6.d/S90reboot } # AUS SuSE-9.3 |
