Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nayuos-ebuilds
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
nayuos-ebuilds
Commits
385884a8
Commit
385884a8
authored
Nov 10, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app-shell: add nayuos-toolbox with a script for mounting encrypted devices
parent
bed70259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
app-shell/nayuos-toolbox/files/encmount
app-shell/nayuos-toolbox/files/encmount
+11
-0
app-shell/nayuos-toolbox/nayuos-toolbox.ebuild
app-shell/nayuos-toolbox/nayuos-toolbox.ebuild
+16
-0
No files found.
app-shell/nayuos-toolbox/files/encmount
0 → 100755
View file @
385884a8
if [ -z $1 ] ; then
echo "Please, give a device as parameter, ex: /dev/sda"
exit 1
fi
if [ ! -d /media/removable/key ] ; then
echo "New dir at /media/removable/key"
mkdir /media/removable/key
fi
echo "Mounting $1 on /media/removable/key"
cryptsetup luksOpen $1 key
mount /dev/mapper/key /media/removable/key
\ No newline at end of file
app-shell/nayuos-toolbox/nayuos-toolbox.ebuild
0 → 100644
View file @
385884a8
EAPI
=
"4"
DESCRIPTION
=
"Set up helpful scripts to improve NayuOS experience"
HOMEPAGE
=
"https://www.nayuos.com/"
S
=
"
${
WORKDIR
}
"
LICENSE
=
"GPL"
SLOT
=
"0"
KEYWORDS
=
"*"
IUSE
=
""
src_install
()
{
insinto /usr/local/bin
doins
${
FILESDIR
}
/encmount
}
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