This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# first argument: path to base directory | |
if [ -n "$1" ]; then | |
BASE_PATH="$1" | |
SESSION_NAME="$BASE_PATH" | |
else | |
echo "Required argument BASE_PATH missing." | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
common_set_list_old() { | |
local cfg="$1" | |
local val="$2" | |
local element list=${val//,/ } | |
#$UCI_DELETE $cfg | |
for element in $list; do | |
echo "$element" | |
done |