Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/examples/var_service/dhcp_if/dhcp_handler
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (8 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/examples/var_service/dhcp_if/dhcp_handler
r2725 r3621 37 37 file_ntpconf="$service.ntpconf" 38 38 dir_ipconf="/var/run/service/fw" 39 dir_ntpconf="/var/run/service/ntp "39 dir_ntpconf="/var/run/service/ntpd" 40 40 41 41 exec >/dev/null … … 48 48 # Reconfigure network with this interface disabled 49 49 echo "Deconfiguring" 50 rm " $service.out"50 rm "env.out" 51 51 rm "$file_ipconf" 52 52 rm "$file_ntpconf" … … 58 58 59 59 # Bound: we've got the lease 60 #env >"$service.out" # debug 60 # Record information for e.g. dhcp_$IF_pinger service 61 env >"env.out" 61 62 62 63 ./convert2ipconf "$file_ipconf" … … 70 71 fi 71 72 72 if test -d /var/service/ntp ; then73 if test -d /var/service/ntpd; then 73 74 ./convert2ntpconf "$file_ntpconf" 74 75 # Reconfigure ntp server addresses if needed … … 78 79 mkdir -p "$dir_ntpconf" 2>/dev/null 79 80 cp "$file_ntpconf" "$dir_ntpconf/$file_ntpconf" 80 sv t /var/service/ntp 81 sv u /var/service/ntp 81 sv t /var/service/ntpd 82 sv u /var/service/ntpd 82 83 fi 83 84 fi
Note:
See TracChangeset
for help on using the changeset viewer.