Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

action script fixes. we should have no exit in the scripts for stweak…

…s to work faster
  • Loading branch information...
commit 4053da8c08aebccf95a0a8060c47c3bbb1c5e855 1 parent 4b33a7a
Gokhan Moral authored
6 res/customconfig/actions/eargasm_hp
View
@@ -1,9 +1,6 @@
#!/sbin/busybox sh
-if [ "a$2" == "a" ];then
-echo $soundgasm_hp
-exit
-fi
+if [ "a$2" != "a" ];then
soundgasm_hp=$2
@@ -42,4 +39,5 @@ case "$soundgasm_hp" in
;;
esac;
+fi
echo $soundgasm_hp
6 res/customconfig/actions/generic
View
@@ -1,9 +1,6 @@
#!/sbin/busybox sh
-if [ "a$2" == "a" ];then
-exit
-fi
-
+if [ "a$2" != "a" ];then
filename=$(basename $2)
if [ "a$3" == "a" ];then
@@ -18,5 +15,6 @@ else
echo $3 > $2
fi
fi
+fi
6 res/customconfig/actions/generic01
View
@@ -1,9 +1,6 @@
#!/sbin/busybox sh
-if [ "a$2" == "a" ];then
-exit
-fi
-
+if [ "a$2" != "a" ];then
filename=$(basename $2)
if [ "a$3" == "a" ];then
@@ -25,5 +22,6 @@ else
esac;
fi
fi
+fi
5 res/customconfig/actions/schedfeat
View
@@ -1,8 +1,6 @@
#!/sbin/busybox sh
-if [ "a$2" == "a" ];then
-exit
-fi
+if [ "a$2" != "a" ];then
if [ "a$3" == "a" ];then
evalcmd='eval "echo \$$2"'
@@ -24,3 +22,4 @@ else
fi
fi
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.