diff options
Diffstat (limited to 'sys-apps/baselayout/files/rc.d/init.d/cdboot')
-rw-r--r-- | sys-apps/baselayout/files/rc.d/init.d/cdboot | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/baselayout/files/rc.d/init.d/cdboot b/sys-apps/baselayout/files/rc.d/init.d/cdboot new file mode 100644 index 000000000000..119c9b65d0b2 --- /dev/null +++ b/sys-apps/baselayout/files/rc.d/init.d/cdboot @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ "$1" != "start" ] +then + exit +fi +umask 022 +mount / -o remount,rw +: > /etc/mtab +mount /proc +/bin/hostname cdimage + |