Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package.keep
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
Ivan Tyagov
slapos.package.keep
Commits
799a7d12
Commit
799a7d12
authored
Apr 30, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change psutil version to 0.6.2
Add home path when adding an account
parent
bffefc84
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
windows/psutil/psutil.egg-info/PKG-INFO
windows/psutil/psutil.egg-info/PKG-INFO
+2
-2
windows/psutil/psutil/__init__.py
windows/psutil/psutil/__init__.py
+1
-1
windows/scripts/useradd
windows/scripts/useradd
+1
-0
No files found.
windows/psutil/psutil.egg-info/PKG-INFO
View file @
799a7d12
Metadata-Version: 1.0
Name: psutil
Version: 0.6.
01
Version: 0.6.
2
Summary: A process and system utilities module for Python
Home-page: http://code.google.com/p/psutil/
Author: Giampaolo Rodola
Author-email: g.rodola <at> gmail <dot> com
License: License :: OSI Approved :: BSD License
Download-URL: http://psutil.googlecode.com/files/psutil-0.6.
01
.tar.gz
Download-URL: http://psutil.googlecode.com/files/psutil-0.6.
2
.tar.gz
Description: ===========
Quick links
===========
...
...
windows/psutil/psutil/__init__.py
View file @
799a7d12
...
...
@@ -14,7 +14,7 @@ Python.
from
__future__
import
division
__version__
=
"0.6.
01
"
__version__
=
"0.6.
2
"
version_info
=
tuple
([
int
(
num
)
for
num
in
__version__
.
split
(
'.'
)])
__all__
=
[
...
...
windows/scripts/useradd
View file @
799a7d12
...
...
@@ -67,6 +67,7 @@ net user "${USER_NAME}" "${USER_NAME}" /${ACTION}
if
((
$?
==
0
))
;
then
if
[[
$ACTION
==
"ADD"
]]
;
then
mkpasswd |
grep
"^
${
USER_NAME
}
:"
>>
/etc/passwd
[[
!
"
$USER_HOME
"
==
""
]]
&&
[[
!
-f
$USER_HOME
]]
&&
mkdir
-p
$USER_HOME
&&
chown
$USER_NAME
$USER_HOME
elif
[[
$ACTION
==
"DELETE"
]]
;
then
sed
-i
-e
"s/^
${
USER_NAME
}
:.*//g"
/etc/passwd
fi
...
...
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