Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Testing
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Testing
Commits
4c9b635b
Commit
4c9b635b
authored
Jul 18, 2012
by
Benoit Rat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: install: add S70apts to /etc/init.d
parent
95add551
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
install.sh
sw/install.sh
+7
-2
No files found.
sw/install.sh
View file @
4c9b635b
...
...
@@ -23,6 +23,8 @@ if [ -d ${NFSROOT} ]; then
rm
${
NFSROOT
}
/alpha-pts/
*
.sh &> /dev/null
rm
${
NFSROOT
}
/alpha-pts/bin/
*
&> /dev/null
cp
-Rvf
${
SCRIPTDIR
}
/alpha-pts/
${
NFSROOT
}
/
echo
""
cp
-v
${
SCRIPTDIR
}
/S70apts
${
NFSROOT
}
/etc/init.d/
exit
0
else
...
...
@@ -66,8 +68,11 @@ else
chown -R root:root
$TMPFS
/etc/dropbear
##Test Anchor
cp -r
$(
dirname
$0
)
/alpha-pts/
$TMPFS
/alpha-pts
cp -r
$(
dirname
$0
)
/S59apts
$TMPFS
/etc/init.d/
mkdir -p
${
NFSROOT
}
/alpha-pts/
rm
${
NFSROOT
}
/alpha-pts/*.sh &> /dev/null
rm
${
NFSROOT
}
/alpha-pts/bin/* &> /dev/null
cp -Rvf
${
SCRIPTDIR
}
/alpha-pts/
${
NFSROOT
}
/
cp
${
NFSROOT
}
/S70apts
${
NFSROOT
}
/etc/init.d/
(cd "
$TMPFS
" && find . | cpio -o -H newc | gzip) >
$ROOTFS_IMAGE_CPIO
(cd "
$TMPFS
" && tar cz .>
$ROOTFS_IMAGE_TGZ
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment