OSDN Git Service
(root)
/
instantos
/
instantARCH.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix mirrorlist generator
[instantos/instantARCH.git]
/
chroot
/
publish.sh
1
#!/bin/bash
2
3
# make some iroot settings accessible by normal users
4
5
mkdir /etc/iroot
6
7
8
publishsetting() {
9
if iroot "$1"
10
then
11
iroot "$1" > /etc/iroot/"$1"
12
fi
13
}
14
15
publishsetting countrycode
16
publishsetting isvm
17
18
echo "finished setting up config permissions"