clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 8aa4bc7 was 163a6701, checked in by Jim Gifford <clfs@…>, 19 years ago |
r720@server (orig r718): jim | 2005-11-18 08:06:26 -0800
Added bootscripts to cross-lfs svn
|
-
Property mode
set to
100755
|
File size:
595 bytes
|
Rev | Line | |
---|
[163a6701] | 1 | #!/bin/sh
|
---|
| 2 | ##################################################################
|
---|
| 3 | # Begin $rc_base/init.d/mountsqfs
|
---|
| 4 | #
|
---|
| 5 | # Description : Mounts squashed usr dir on livecd
|
---|
| 6 | #
|
---|
| 7 | # Authors : Jeremy Huntwork, jhuntwork@linuxfromscratch.org
|
---|
| 8 | #
|
---|
| 9 | # Date : 2005-01-26
|
---|
| 10 | #
|
---|
| 11 | ##################################################################
|
---|
| 12 |
|
---|
| 13 | . /etc/sysconfig/rc
|
---|
| 14 | . $rc_functions
|
---|
| 15 |
|
---|
| 16 | case "$1" in
|
---|
| 17 | start)
|
---|
| 18 | cd /
|
---|
| 19 | boot_mesg "Mounting squashed usr directory..."
|
---|
| 20 | mkdir /usr
|
---|
| 21 | mount -t squashfs /.cdrom/usr.sqfs /usr -o loop
|
---|
| 22 | echo_ok
|
---|
| 23 | ;;
|
---|
| 24 |
|
---|
| 25 | *)
|
---|
| 26 | echo "Usage: $0 {start}"
|
---|
| 27 | exit 1
|
---|
| 28 | ;;
|
---|
| 29 | esac
|
---|
| 30 |
|
---|
| 31 | # End $rc_base/init.d/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.