Cleanup
This commit is contained in:
parent
d67c546000
commit
83d7309147
@ -566,6 +566,7 @@ create_mobileconfig() {
|
|||||||
[ -z "$uuid1" ] && exiterr "Could not generate UUID value."
|
[ -z "$uuid1" ] && exiterr "Could not generate UUID value."
|
||||||
|
|
||||||
mc_file="$export_dir$client_name-$SYS_DT.mobileconfig"
|
mc_file="$export_dir$client_name-$SYS_DT.mobileconfig"
|
||||||
|
|
||||||
cat > "$mc_file" <<EOF
|
cat > "$mc_file" <<EOF
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
@ -728,6 +729,7 @@ create_android_profile() {
|
|||||||
[ -z "$uuid2" ] && exiterr "Could not generate UUID value."
|
[ -z "$uuid2" ] && exiterr "Could not generate UUID value."
|
||||||
|
|
||||||
sswan_file="$export_dir$client_name-$SYS_DT.sswan"
|
sswan_file="$export_dir$client_name-$SYS_DT.sswan"
|
||||||
|
|
||||||
cat > "$sswan_file" <<EOF
|
cat > "$sswan_file" <<EOF
|
||||||
{
|
{
|
||||||
"uuid": "$uuid2",
|
"uuid": "$uuid2",
|
||||||
|
Loading…
Reference in New Issue
Block a user