Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
ae3171ff
Commit
ae3171ff
authored
Apr 18, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
aa83954d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
src/tools/pkg/rpm/pwrrt/pwrrt.spec
src/tools/pkg/rpm/pwrrt/pwrrt.spec
+17
-15
No files found.
src/tools/pkg/rpm/pwrrt/pwrrt.spec
View file @
ae3171ff
...
...
@@ -145,26 +145,28 @@ if ! grep -q "\bb55:" /etc/passwd; then
# Check if group audio exist
if grep -q "\baudio:" /etc/group; then
audio="-G
audio"
groups="pwrp,
audio"
else
audio="
"
groups="pwrp
"
fi
useradd -s /bin/bash -p aaQPClsglxJP6 -g b55 -G pwrp -d /home/b55 $audio b55
useradd -s /bin/bash -p aaQPClsglxJP6 -g b55 -G $groups -d /home/b55 b55
if [ ! -e /home/b55 ]; then
mkdir /home/b55
fi
/bin/cp /usr/pwrrt/cnf/op/.bashrc /home/b55
/bin/cp /usr/pwrrt/cnf/op/.bash_profile /home/b55
# /bin/cp /usr/pwrrt/cnf/op/.mwmrc /home/b55
/bin/cp /usr/pwrrt/cnf/op/.rtt_start /home/b55
chmod a+x /home/b55/.rtt_start
/bin/cp /usr/pwrrt/cnf/op/.xtt_start /home/b55
chmod a+x /home/b55/.xtt_start
# /bin/cp /usr/pwrrt/cnf/op/.xsession /home/b55
chown -R b55 /home/b55
chgrp -R pwrp /home/b55
chmod a+rwx /home/b55
/bin/cp /usr/pwrrt/cnf/op/.bashrc /home/b55
/bin/cp /usr/pwrrt/cnf/op/.bash_profile /home/b55
# /bin/cp /usr/pwrrt/cnf/op/.mwmrc /home/b55
/bin/cp /usr/pwrrt/cnf/op/.rtt_start /home/b55
chmod a+x /home/b55/.rtt_start
/bin/cp /usr/pwrrt/cnf/op/.xtt_start /home/b55
chmod a+x /home/b55/.xtt_start
# /bin/cp /usr/pwrrt/cnf/op/.xsession /home/b55
chown -R b55 /home/b55
chgrp -R pwrp /home/b55
chmod a+rwx /home/b55
fi
fi
#echo "Change owner of files to pwrp"
...
...
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