Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@dm7025:~# cat cfg-test.sh
- #!/bin/sh
- i=0
- for cfg in $(find /etc /home /usr /tmp /var -name oscam.conf);
- do
- CFG[$i]=$cfg;
- let i++;
- done
- root@dm7025:~# ./cfg-test.sh
- ./cfg-test.sh: line 9: CFG[0]=/etc/tuxbox/config/oscam.conf: not found
- ./cfg-test.sh: line 9: CFG[1]=/var/oscam.conf: not found
- root@dm7025:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement