forked from hummypkg/sweeper
14 lines
166 B
Bash
Executable File
14 lines
166 B
Bash
Executable File
#!/bin/sh
|
|
|
|
f=/mod/etc/sweeper.conf
|
|
if [ ! -f $f ]; then
|
|
if [ -f $f~ ]; then
|
|
cp $f~ $f
|
|
elif [ -f "$f-opkg.backup" ]; then
|
|
cp "$f-opkg.backup" $f
|
|
fi
|
|
fi
|
|
|
|
exit 0
|
|
|