close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
add_torrent_clientbrowserdbuseuro-localefilebeatfilebeat-homefix_video_2fix_video_probleminittab-preinit-pyinstall-gitlibmainoggitoginit-logogrepo-ssh-keypcp-dstatpcp-dstat2py-seturlresolvconfstunnelulimit-n-4096xinitrc-dbusxinitrc-dbus2
|
Last change
on this file since 434cfb8 was
0ca1487,
checked in by Vadim Troshchinskiy <vtroshchinskiy@…>, 5 months ago
|
|
Fix typo
|
-
Property mode set to
100755
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | #!/bin/sh -e |
|---|
| 2 | # initramfs hook for OpenGnsys |
|---|
| 3 | |
|---|
| 4 | #@file oghooks |
|---|
| 5 | #@brief configuración initrd para OpenGnSys |
|---|
| 6 | #@warning |
|---|
| 7 | #@version 0.9 - estrucura opengnsys, bash-static, unionfs, atheros |
|---|
| 8 | #@author Antonio J. Doblas Viso. |
|---|
| 9 | #@date 2010/05/24 |
|---|
| 10 | #*/ |
|---|
| 11 | |
|---|
| 12 | PREREQ="og" |
|---|
| 13 | |
|---|
| 14 | # Output pre-requisites |
|---|
| 15 | prereqs() |
|---|
| 16 | { |
|---|
| 17 | echo "$PREREQ" |
|---|
| 18 | } |
|---|
| 19 | |
|---|
| 20 | case "$1" in |
|---|
| 21 | prereqs) |
|---|
| 22 | prereqs |
|---|
| 23 | exit 0 |
|---|
| 24 | ;; |
|---|
| 25 | esac |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | . /usr/share/initramfs-tools/hook-functions |
|---|
| 29 | |
|---|
| 30 | mkdir -p ${DESTDIR}/scripts/og-top |
|---|
| 31 | mkdir -p ${DESTDIR}/scripts/og-premount |
|---|
| 32 | mkdir -p ${DESTDIR}/scripts/og-bottom |
|---|
| 33 | mkdir -p ${DESTDIR}/mnt/ |
|---|
| 34 | mkdir -p ${DESTDIR}/net/ |
|---|
| 35 | mkdir -p ${DESTDIR}/usr |
|---|
| 36 | mkdir -p ${DESTDIR}/var/lock |
|---|
| 37 | mkdir -p ${DESTDIR}/var/log |
|---|
| 38 | mkdir -p ${DESTDIR}/opt/opengnsys; |
|---|
| 39 | mkdir -p ${DESTDIR}/ogboot; |
|---|
| 40 | mkdir -p ${DESTDIR}/boot; |
|---|
| 41 | mkdir -p ${DESTDIR}/run/user/0 |
|---|
| 42 | chmod 700 ${DESTDIR}/run/user/0 |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | # Insert basic binaries |
|---|
| 46 | copy_exec /bin/bash-static /bin/bash |
|---|
| 47 | copy_exec /usr/bin/unionfs-fuse |
|---|
| 48 | copy_exec /sbin/mount.cifs |
|---|
| 49 | #copy_exec /sbin/mount.smbfs |
|---|
| 50 | copy_exec /bin/lsmod |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | # Insert OpenGnsys Engine |
|---|
| 54 | #mkdir -p ${DESTDIR}/opt/opengnsys/lib/engine |
|---|
| 55 | #cp -prv /opt/opengnsys/client/lib/engine ${DESTDIR}/opt/opengnsys/lib/engine |
|---|
| 56 | |
|---|
| 57 | manual_add_modules cifs |
|---|
| 58 | #manual_add_modules smbfs |
|---|
| 59 | manual_add_modules atl1e |
|---|
| 60 | manual_add_modules squashfs |
|---|
| 61 | manual_add_modules md4 |
|---|
| 62 | manual_add_modules des_generic |
|---|
| 63 | manual_add_modules nls_utf8 |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.