forked from mirrored-repos/manjaro-tools
[util-iso-profile] add a profile lib
This commit is contained in:
parent
6342435f49
commit
5df328c70a
1 changed files with 18 additions and 0 deletions
18
lib/util-iso-profile.sh
Normal file
18
lib/util-iso-profile.sh
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; version 2 of the License.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# $1: target
|
||||||
|
write_profile_conf(){
|
||||||
|
local conf=$1/profile.conf
|
||||||
|
echo '###manjaro-tools iso-profile.conf###' > ${conf}
|
||||||
|
echo 'initsys=' >> ${conf}
|
||||||
|
echo 'displaymanager=' >> ${conf}
|
||||||
|
}
|
Loading…
Reference in a new issue