Changeset cf0d868 in freewrt
- Timestamp:
- Jul 17, 2006, 5:33:11 AM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 1f0c6bf
- Parents:
- 15d8ea1
- Location:
- package
- Files:
-
- 3 edited
-
dnsmasq/files/dnsmasq.init (modified) (1 diff)
-
dropbear/files/dropbear.init (modified) (1 diff)
-
iptables/files/firewall.init (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/dnsmasq/files/dnsmasq.init
r15d8ea1 rcf0d868 4 4 5 5 case $1 in 6 autostart) 7 test x"$dns_dhcp" = x"NO" && exit 0 8 # FALLTHROUGH 9 start) 10 [ -f /etc/dnsmasq.conf ] || exit 11 /usr/sbin/dnsmasq 12 ;; 13 stop) 14 killall dnsmasq 15 ;; 16 restart) 17 $0 stop 18 $0 start 19 ;; 20 *) 21 echo "Usage: $0 {start | stop | restart}" 22 ;; 6 autostart) 7 test x"$dns_dhcp" = x"NO" && exit 0 8 exec $0 start 9 ;; 10 start) 11 [ -f /etc/dnsmasq.conf ] || exit 12 /usr/sbin/dnsmasq 13 ;; 14 stop) 15 killall dnsmasq 16 ;; 17 restart) 18 $0 stop 19 $0 start 20 ;; 21 *) 22 echo "Usage: $0 {start | stop | restart}" 23 ;; 23 24 esac 24 25 exit 0 -
package/dropbear/files/dropbear.init
r15d8ea1 rcf0d868 6 6 autostart) 7 7 test x"$ssh" = x"NO" && exit 0 8 # FALLTHROUGH 8 exec $0 start 9 ;; 9 10 start) 10 11 # check for keys -
package/iptables/files/firewall.init
r15d8ea1 rcf0d868 10 10 autostart) 11 11 test x"$firewall" = x"NO" && exit 0 12 # FALLTHROUGH 12 exec $0 start 13 ;; 13 14 start) 14 15 iptables -N input_rule
Note:
See TracChangeset
for help on using the changeset viewer.
