forked from mirrored-repos/manjaro-tools
[util] add import function, unused
This commit is contained in:
parent
76cb86daf9
commit
e3749141a4
1 changed files with 45 additions and 41 deletions
|
@ -8,6 +8,10 @@
|
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
import(){
|
||||
[[ -r $1 ]] && source $1
|
||||
}
|
||||
|
||||
kernel_cmdline(){
|
||||
for param in $(/bin/cat /proc/cmdline); do
|
||||
case "${param}" in
|
||||
|
|
Loading…
Reference in a new issue